Skip to content

Feature Request: Enhanced Error Handling for TurnstileΒ #507

@XStarlink

Description

@XStarlink

πŸ†’ Your use case

Problem

Currently, when Turnstile fails (network timeouts, iOS Safari blocking, etc.), there's no way to catch and handle these errors gracefully.

Use Case

Our production app gets hundreds of Turnstile errors (codes 300010, 300031, 100040) that could be handled gracefully with proper error events.

πŸ†• The solution you'd like

Proposed Solution

Add error events to NuxtTurnstile component:

<NuxtTurnstile 
  v-model="token"
  @error="handleError"
  @timeout="handleTimeout"
  @expired="handleExpired"
/>

πŸ” Alternatives you've considered

No response

ℹ️ Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions