Skip to main content

Documentation Index

Fetch the complete documentation index at: https://auth0.com/llms.txt

Use this file to discover all available pages before exploring further.

Result object returned by useErrors. Provides access to the current error state and methods to dismiss individual or all errors on Auth0 Universal Login screens.
Example
export interface UseErrorsResult {
  errors: ErrorsResult;
  hasError: boolean;
  dismiss: (id: string) => void;
  dismissAll: () => void;
}

Properties

errors
required
The collection of current errors, including messages and identifiers.
hasError
boolean
required
true when one or more errors are present; useful for conditionally rendering error UI.
dismiss
(id: string) => void
required
Removes a specific error by its id.
dismissAll
() => void
required
Clears all active errors at once.