Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CustomAuthError

Hierarchy

Index

Constructors

Properties

Constructors

  • new CustomAuthError(message: string, name: string, status: number, code: undefined | string): CustomAuthError

Properties

code: undefined | ErrorCode | string & {}

Error code associated with the error. Most errors coming from HTTP responses will have a code, though some errors that occur before a response is received will not have one present. In that case {@link #status} will also be undefined.

name: string
status: number

HTTP status code that caused the error.

Generated using TypeDoc