Interface JupyterErrorOutputEvent

Emitted when an error occurs during execution.

interface JupyterErrorOutputEvent {
    executionCount?: number;
    kernelId?: string;
    message: JupyterErrorOutputEventMessage;
    name: string;
    traceback: string[];
    tracebackData: JupyterErrorOutputEventTraceback;
    value: string;
}

Properties

executionCount?: number

The execution count of the cell.

kernelId?: string

The kernel that finished this cell.

The error message, compressed, with the record of whether it was cut at the output cap.

name: string

The name of the error.

traceback: string[]

The stack trace.

(since 2.21.0) Use tracebackData instead.

The stack trace, compressed as a JSON array of lines, with the record of whether it was cut at the output cap.

value: string

The error message.

(since 2.21.0) Use message instead.