Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Error
    • ResponseError

Index

Constructors

constructor

  • new ResponseError(message: any, requestOptions: any, response: any): ResponseError
  • Construct a new ResponseError

    Parameters

    • message: any

      an message to return instead of the the default error message

    • requestOptions: any

      the request

    • response: any

      the object returned by datasource

    Returns ResponseError

Properties

message

message: string

name

name: string

requestOptions

requestOptions: string | object

response

response: Response

Optional stack

stack: string

status

status: string

Static Error

Error: ErrorConstructor

Generated using TypeDoc