Class AuthError

Hierarchy

Constructors

Properties

Constructors

  • Parameters

    • message: string
    • Optional status: number
    • Optional code: string

    Returns AuthError

Properties

code: undefined | string & {} | ErrorCode

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 #status will also be undefined.

status: undefined | number

HTTP status code that caused the error.

Generated using TypeDoc