@auth0/auth0-react
    Preparing search index...

    Class GenericError

    Thrown when network requests to the Auth server fail.

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • error: string
      • error_description: string

      Returns GenericError

    Properties

    error: string
    error_description: string
    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

    • Parameters

      • __namedParameters: { error: string; error_description: string }

      Returns GenericError