CommitteeClash Documentation
API
Backend
Frontend
Actions
App
Components
Lib
Auth
FetchWithValidation
GetSecret
Utils
Functions
CnHandleUnauthorizedAccessThrowResponseError
Types
FrontendLibUtilsFunctions

HandleUnauthorizedAccess

Function: HandleUnauthorizedAccess()

function HandleUnauthorizedAccess(error): void

Defined in: src/lib/utils.tsx:38

Handles unauthorized access by redirecting to the logout page.

Parameters

error

Error

The error object containing the error message.

Returns

void

Cn

Previous Page

ThrowResponseError

Next Page

On this page

Function: HandleUnauthorizedAccess()ParameterserrorReturns