Class NativeError

Exception from native module

Hierarchy (view full)

Constructors

  • Initialize new instance of NativeError

    Parameters

    • Optionalmessage: string

      Error message

    • Optionalmethod: string

    Returns NativeError

Properties

message: string
method: string

Native function name. Default is empty string

name: string
nativeStack: string

Native library call stack. Default is empty string

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