Hierarchy

  • Error
    • ApiError

Constructors

  • Parameters

    • response: Response
    • data: any
    • message: string

    Returns ApiError

Properties

data: any
message: string
name: string
response: Response
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void