Documentation

Mistake on this page? Email us

Defines an error raised in the SDK

Hierarchy

  • Error
    • SDKError

Index

Constructors

constructor

  • new SDKError(message: string, response?: Response, url?: string, innerError?: Error, details?: string, code?: number): SDKError
  • Parameters

    • message: string
    • Default value response: Response = {} as Response
    • Default value url: string = ""
    • Optional innerError: Error
    • Optional details: string
    • Optional code: number

    Returns SDKError

Properties

code

code: number

details

details: string

innerError

innerError: Error

message

message: string

name

name: string

response

response: Response

stack

stack: string

url

url: string

Error

Error: ErrorConstructor