Show More
@@ -183,7 +183,8 b'' | |||||
183 | "type": [ |
|
183 | "type": [ | |
184 | {"$ref": "/definitions/execute_output"}, |
|
184 | {"$ref": "/definitions/execute_output"}, | |
185 | {"$ref": "/definitions/display_data_output"}, |
|
185 | {"$ref": "/definitions/display_data_output"}, | |
186 | {"$ref": "/definitions/stream_output"} |
|
186 | {"$ref": "/definitions/stream_output"}, | |
|
187 | {"$ref": "/definitions/error_output"} | |||
187 | ] |
|
188 | ] | |
188 | } |
|
189 | } | |
189 | }, |
|
190 | }, | |
@@ -312,6 +313,41 b'' | |||||
312 | "items": {"type": "string"} |
|
313 | "items": {"type": "string"} | |
313 | } |
|
314 | } | |
314 | } |
|
315 | } | |
|
316 | }, | |||
|
317 | ||||
|
318 | "error_output": { | |||
|
319 | "description": "Output of an error that occurred during code cell execution.", | |||
|
320 | "type": "object", | |||
|
321 | "additionalProperties": false, | |||
|
322 | "properties": { | |||
|
323 | "output_type": { | |||
|
324 | "description": "Type of cell output.", | |||
|
325 | "enum": ["error"], | |||
|
326 | "required": true | |||
|
327 | }, | |||
|
328 | "metadata": { | |||
|
329 | "description": "Cell output metadata.", | |||
|
330 | "type": "object", | |||
|
331 | "required": true, | |||
|
332 | "additionalProperties": true | |||
|
333 | }, | |||
|
334 | "ename": { | |||
|
335 | "description": "The name of the error.", | |||
|
336 | "type": "string", | |||
|
337 | "required": true | |||
|
338 | }, | |||
|
339 | "evalue": { | |||
|
340 | "description": "The value, or message, of the error.", | |||
|
341 | "type": "string", | |||
|
342 | "required": true | |||
|
343 | }, | |||
|
344 | "traceback": { | |||
|
345 | "description": "The error's traceback, represented as an array of strings.", | |||
|
346 | "type": "array", | |||
|
347 | "required": false, | |||
|
348 | "items": {"type": "string"} | |||
|
349 | } | |||
|
350 | } | |||
315 | } |
|
351 | } | |
316 | } |
|
352 | } | |
317 | } |
|
353 | } |
General Comments 0
You need to be logged in to leave comments.
Login now