Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RestErrorOptions

Package version

The options supported by RestError.

Hierarchy

  • RestErrorOptions

Index

Properties

Optional code

code: undefined | string

The code of the error itself (use statics on RestError if possible.)

Optional request

The request that was made.

Optional response

The response received (if any.)

Optional statusCode

statusCode: undefined | number

The HTTP status code of the request (if applicable.)

Generated using TypeDoc