Creates an authentication error for a token-required operation.
Optionaloperation: string
Optional name of the operation that required authentication, appended to the message so the failing call is identifiable from logs alone.
Stable code used to classify the failure.
Optional ReadonlyrawOriginal Axios or transport error when raw diagnostics were enabled.
Optional ReadonlyrequestLibrary-generated correlation ID joining this failure to the
onRequestStart/onResponse/onRetry/onError hook events it
produced, so a caught error can be matched to its lifecycle stream in a
metrics or logging backend. Absent on errors raised outside the
request pipeline (for example validation errors thrown before any
request is sent).
Failure caused by a missing authentication token on a protected operation.
See
AniLinkErrorCodes.AUTH