nuxt-x-neon-auth
ErrorBoundary
Error display component with an optional retry action for Neon Auth flows.
ErrorBoundary
The XAuthErrorBoundary component displays a user-friendly error message and an optional retry button. It is used internally by callback and handler pages when an auth operation fails (e.g. expired magic link, invalid token), but can also be used directly in custom auth pages.
Components
<XAuthErrorBoundary />
Render when an auth error needs to be surfaced to the user.
<XAuthErrorBoundary
message="Token expired or invalid."
:can-retry="true"
@retry="handleRetry"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
message | string | '' | Error message to display |
canRetry | boolean | false | Show a retry button |
Emits
| Event | Description |
|---|---|
retry | Fired when the user clicks the retry button |
AI Context
component: XAuthErrorBoundary
package: "@xenterprises/nuxt-x-neon-auth"
use-when: Display auth errors with an optional retry action in Neon Auth flows
