Class ApiError

Hierarchy

  • Error
    • ApiError

Constructors

  • Parameters

    • status: number
    • message: string
    • Optional errorCode: string
    • Optional vmErrorCode: string

    Returns ApiError

Properties

errorCode?: string
message: string
name: string
stack?: string
status: number
vmErrorCode?: 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

Generated using TypeDoc