Options
All
  • Public
  • Public/Protected
  • All
Menu

Class APIError

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • new APIError(__namedParameters: { body: any; headers: {}; id: string; message: string; status: string | number }): APIError
  • Parameters

    • __namedParameters: { body: any; headers: {}; id: string; message: string; status: string | number }
      • body: any
      • headers: {}
        • [key: string]: any
      • id: string
      • message: string
      • status: string | number

    Returns APIError

Properties

id

id: any

message

message: string

name

name: string

Optional stack

stack: string

status

status: number | string

Static Error

Error: ErrorConstructor

Generated using TypeDoc