Class AuthenticationError

A general authentication error.

Hierarchy

  • Error
    • AuthenticationError

Constructors

Properties

_isAuthenticationError: true

Used for a type guard check.

cause: undefined | Error

Error that caused this authentication error to occur

message: string
name: string
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void