remix-auth-oauth2 - v3.4.1
    Preparing search index...

    Class OAuth2RequestError

    Hierarchy

    Index

    Constructors

    • Parameters

      • code: string
      • description: null | string
      • uri: null | string
      • state: null | string

      Returns OAuth2RequestError

    Properties

    cause?: unknown

    The cause of the error.

    code: string
    description: null | string
    message: string
    name: string
    stack?: string
    state: null | string
    uri: null | string
    prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

    Optional override for formatting stack traces

    stackTraceLimit: number

    The maximum number of stack frames to capture.

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • OptionalconstructorOpt: Function

      Returns void

    • Check if a value is an instance of Error

      Parameters

      • value: unknown

        The value to check

      Returns value is Error

      True if the value is an instance of Error, false otherwise