Skip to content

Conversation

@kwonoj
Copy link

@kwonoj kwonoj commented Jul 19, 2025

Attempt to close #42.

PR adjusts hooks with validation errors, pass it to the hooks before throw it. To allow distinguish between error types, now error context have type property. The existing behavior is preserved if hooks are not provided.

@vercel
Copy link

vercel bot commented Jul 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
better-fetch-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 20, 2025 6:57am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Question: onError / onValidationError hook for the validation failures?

1 participant