An error indicating that a token does not include the requested scope.

Hierarchy

  • CustomError
    • MissingScopeError

Properties

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

Optional override for formatting stack traces

stackTraceLimit: number

Accessors

  • get name(): string

    Returns string

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void