Sanity Library Reference Docs
    Preparing search index...

    Signing in failed. AuthBoundary throws every sign-in failure as one. Subclasses, such as OAuthError, describe a specific failure; any other error is wrapped, with the original as cause.

    Hierarchy (View Summary)

    Index

    Constructors

    Constructors

    • Creates an error with the standard cause option.

      Parameters

      • message: string
      • Optionaloptions: ErrorOptions

      Returns AuthError