Hierarchy

  • Error
    • SDKError

Constructors

  • Parameters

    • errCode: number
    • Optional reason: string

    Returns SDKError

Properties

cause?: unknown
code: number
message: string
name: string
reason?: string
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void