All MLE modules (mle-js)
    Preparing search index...

    Interface ErrorConstructor

    MLE enables the stack trace extensions of V8 in GraalJS.

    interface ErrorConstructor {
        new ErrorConstructor(message?: string): Error;
        new ErrorConstructor(message?: string, options?: ErrorOptions): Error;
        prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any;
        stackTraceLimit: number;
        captureStackTrace(targetObject: object, constructorOpt?: Function): void;
        (message?: string): Error;
        (message?: string, options?: ErrorOptions): Error;
    }
    • Parameters

      • Optionalmessage: string

      Returns Error

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns Error

    Index

    Constructors

    • Parameters

      • Optionalmessage: string

      Returns Error

    • Parameters

      • Optionalmessage: string
      • Optionaloptions: ErrorOptions

      Returns Error

    Properties

    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any
    stackTraceLimit: number

    Methods

    • Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void