Creates a new AuthError instance.
Auth error construction options including strategy and login URL.
ReadonlyattemptedReadonlycodeReadonlydetailsReadonlyloginReadonlyretryableReadonlyseverityReadonlystrategyReadonlysuggestionsReadonlytimestampReturns structured context for AI agents with authentication diagnostics.
Base AI context plus strategy and loginUrl fields
to help diagnose authentication configuration issues.
Serializes the error to a JSON-safe object with authentication fields.
Base fields plus strategy and loginUrl.
Error subclass for authentication failures.
Sap Module
BC-SEC
Business Context
SAP authentication lifecycle — login, session refresh, SSO token handling
Example