Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Throw exception on error refetch #375

Open
ishfx opened this issue Sep 29, 2021 · 0 comments
Open

Throw exception on error refetch #375

ishfx opened this issue Sep 29, 2021 · 0 comments

Comments

@ishfx
Copy link

ishfx commented Sep 29, 2021

Is your feature request related to a problem? Please describe.
I usually have to use useEffect to save the error thrown by refetch (of useGet) to a state.

Describe the solution you'd like
It would have been easier if refetch threw an exception on error (like mutate).

Thanks in advance!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant