An engine failure, placed on the node it concerns: the node a stamp in the error points to, else the source being typed or the node being run.

Hierarchy

  • Error
    • CubeEngineError

Constructors

Properties

cause?: unknown
detail: string

The engine's whole message, without its Java trace, shown in the panel

firstLine: string

The first line of the engine's message, shown on the node

location: undefined | CubeSourceLocation

Where in a text the error is, when the text was parsed with its locations

message: string
name: string
nodeId: undefined | string
role: undefined | string

The part of the node the error points to (an EmitRole), when it is located

stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void