Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NativeError

Exception from native module

Hierarchy

Index

Constructors

  • new NativeError(message?: string, method?: string): NativeError
  • Initialize new instance of NativeError

    Parameters

    • Optional message: string

      Error message

    • Optional method: 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

Type declaration

stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc