Skip to main content

AccountsJsError

Hierarchy

  • Error
    • AccountsJsError

Index

Constructors

constructor

  • Parameters

    • message: string
    • code: string

    Returns AccountsJsError

Properties

optionalcause

cause?: unknown

publiccode

code: string

message

message: string

name

name: string

optionalstack

stack?: string

staticoptionalprepareStackTrace

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

Optional override for formatting stack traces

@see

Type declaration

    • (err: Error, stackTraces: CallSite[]): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

staticstackTraceLimit

stackTraceLimit: number

Methods

staticcaptureStackTrace

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


    Parameters

    • targetObject: object
    • optionalconstructorOpt: Function

    Returns void