fetch: throwing errors instead of returning them #1875
Answered
by
drwpow-figma
RWOverdijk
asked this question in
Q&A
-
Is it possible to throw errors instead of returning them? Through some config option for example. Or maybe the way supabase does it with |
Beta Was this translation helpful? Give feedback.
Answered by
drwpow-figma
Aug 23, 2024
Replies: 1 comment 2 replies
-
Yes! There’s a guide in the docs about how to enable this behavior with middleware. By default it won’t throw to match the |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
RWOverdijk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes! There’s a guide in the docs about how to enable this behavior with middleware. By default it won’t throw to match the
fetch
spec.