Back to Node Auth0

Class ResponseError

docs/classes/lib.ResponseError.html

5.9.11022 B
Original Source
  • lib
  • ResponseError

Class ResponseError

Error thrown when the API returns an error response that can't be parsed to a more specific Error instance.

Hierarchy

  • Error
    • ResponseError

Index

Constructors

constructor

Properties

namestatusCodebodyheaders

Constructors

constructor

new ResponseError(
statusCode: number,
body: string,
headers: Headers,
msg?: string,
): ResponseError

Parameters

  • statusCode: number
  • body: string
  • headers: Headers
  • Optionalmsg: string

Returns ResponseError

Properties

name

name: "ResponseError" = ...

statusCode

statusCode: number

body

body: string

headers

headers: Headers

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Constructors constructor Properties namestatusCodebodyheaders