Skip to main content

TwinUnauthenticatedError

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).

Hierarchy

  • Error
    • TwinUnauthenticatedError

Index

Constructors

Constructors

constructor

Page Options