Class APIError

General error class

Hierarchy (view full)

Constructors

Properties

captchaImg?: string

Image of captcha

captchaSid?: number

Session identifier captcha

cause?: Error

Error cause

code: string | number

Error code

confirmationText?: string

Required confirmation text

message: string
name: string
params: IAPIErrorParam[]

Request parameters

redirectUri?: string

Redirect URL, e.g. validation

stack: string

Error stack

prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

stackTraceLimit: number

Accessors

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc