Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ErrorMessage displays error states with optional retry functionality.
import { ErrorMessage } from "@servicetitan/anvil2-ext-atlas"; function ErrorMessageExample() { return ( <ErrorMessage error="Unable to process your request" onRetry={() => retryRequest()} /> ); }
import { ErrorMessage } from "@servicetitan/anvil2-ext-atlas"; function ErrorMessageFallback() { return ( <ErrorMessage error={true} message="Something went wrong. Please try again." onRetry={() => retryRequest()} /> ); }
import { ErrorMessage } from "@servicetitan/anvil2-ext-atlas"; function ErrorMessageNoRetry() { return ( <ErrorMessage error="This action cannot be completed at this time." /> ); }
<ErrorMessage error="Something went wrong" message="Fallback message" onRetry={handleRetry} />
ErrorMessage
true
message
error
Was this page helpful?