Auth0 Universal Components
GitHub
Auth0
Preparing search index...
react/src
useErrorHandler
Function useErrorHandler
useErrorHandler
()
:
{
handleError
:
(
error
:
unknown
,
options
?:
ErrorHandlerOptions
)
=>
string
;
}
Hook for handling errors with optional toast notifications
Returns
{
handleError
:
(
error
:
unknown
,
options
?:
ErrorHandlerOptions
)
=>
string
}
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
GitHub
Auth0
Auth0 Universal Components
Loading...
Hook for handling errors with optional toast notifications