Extends the Error class and serves as the base for all custom errors within the SDK.

Hierarchy (view full)

Constructors

Properties

address: string
cause?: any
message: string
name: string
stack?: string
versionName: 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

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void