Replies: 1 comment
-
https://swr.vercel.app/docs/error-handling
Isn't that what you looking for? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've looked through the documentation and I cannot find how to handle exceptions thrown in my
fetcher
function. This is what I came up with.Shouldn't
useSWR
handle those?Beta Was this translation helpful? Give feedback.
All reactions