Is there a lifecycle hook to get notified if schema validation fails?
I thought onError hook would notify if validation fails (https://better-fetch.vercel.app/docs/hooks#on-success-and-on-error), however it doesn't seem to be a case. Curious
- if it makes sense if onError notifies validation error
- or if not, there's a separate hook for the validation error
Is there a lifecycle hook to get notified if schema validation fails?
I thought
onErrorhook would notify if validation fails (https://better-fetch.vercel.app/docs/hooks#on-success-and-on-error), however it doesn't seem to be a case. Curious