jira.js
    Preparing search index...

    Interface AuthErrorOptions

    interface AuthErrorOptions {
        cause?: unknown;
        status?: number;
    }

    Hierarchy (View Summary)

    Index
    cause?: unknown

    The error that caused this one — a transport failure, a parse failure.

    status?: number

    The status the response actually carried. Defaults to 401.

    Overridden where the credentials were refused behind a status that says otherwise: an endpoint permitting anonymous access answers 200 with an anonymous-scope body and reports the refusal in X-Seraph-LoginReason. Recording 401 there would name a status that never crossed the wire.