Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KernelError

Hierarchy

  • Error
    • KernelError

Index

Constructors

constructor

  • new KernelError(traceback_raw: string, kernel_lang: string): KernelError

Properties

Protected _onRendered

_onRendered: Promise<void>

message

message: string

name

name: string

prettyTraceback

prettyTraceback: string

Optional stack

stack: undefined | string

traceback

traceback: string

Static Error

Error: ErrorConstructor

Methods

Static Create

  • Create(traceback: string | string[], kernelDisplayName: string): Promise<KernelError>
  • Create a new kernel error with a pretty stacktrace

    Parameters

    • traceback: string | string[]
    • kernelDisplayName: string

    Returns Promise<KernelError>

Generated using TypeDoc