Thrown when the server returns 401 (Unauthorized). Distinct from forbidden
errors: 401 means "no valid auth context" (the caller should redirect to
login / refresh tokens), while 403 means "authenticated but not granted"
(the UI should surface a permissions hint or render disabled affordances).
Thrown when the server returns 401 (Unauthorized). Distinct from forbidden errors: 401 means "no valid auth context" (the caller should redirect to login / refresh tokens), while 403 means "authenticated but not granted" (the UI should surface a permissions hint or render disabled affordances).