X Enterprises
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

PropTypeDefaultDescription
messagestring''Error message to display
canRetrybooleanfalseShow a retry button

Emits

EventDescription
retryFired 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
Copyright © 2026