Skip to content

Function: isExpectedAuthError() ​

isExpectedAuthError(error): boolean

Defined in: auth/src/hooks.ts:33

Checks if an error is an expected authentication error.

Parameters ​

error ​

unknown

The error to check

Returns ​

boolean

True if the error is expected for unauthenticated users