A 'error' message on the 'iopub' channel.

See Execution errors.

interface IErrorMsg {
    buffers?: (ArrayBuffer | ArrayBufferView)[];
    channel: "iopub";
    content: {
        ename: string;
        evalue: string;
        traceback: string[];
    header: IHeader<"error">;
    metadata: JSONObject;
    parent_header: IHeader<KernelMessage.MessageType> | Record<string, never>;

Hierarchy (view full)


buffers?: (ArrayBuffer | ArrayBufferView)[]

An optional list of binary buffers.

channel: "iopub"

The channel on which the message is transmitted.

content: {
    ename: string;
    evalue: string;
    traceback: string[];

The content of the message.

Type declaration

  • ename: string
  • evalue: string
  • traceback: string[]
header: IHeader<"error">

The message header.

metadata: JSONObject

Metadata associated with the message.

parent_header: IHeader<KernelMessage.MessageType> | Record<string, never>

The parent message