Skip to content

How to make urql throw an error when there is an error? #1436

Answered by kitten
thehappycoder asked this question in Q&A
Discussion options

You must be logged in to vote

If you need to reject the promise then that's exactly what we recommend; choose the error condition yourself and throw since that replaces any other option or configuration which would make it less intuitive

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kitten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants