Hierarchy

  • Error
    • PassportError

Constructors

  • Parameters

    • message: string
    • type: PassportErrorType

    Returns PassportError

Properties

prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number
type: PassportErrorType
name: string
message: string
stack?: string
cause?: unknown

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void