How to return data and errors? #834
Unanswered
garyrutland
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I notice that the library is able to support returning both data and errors but haven't quite seen or figured out how to do it myself?
The error handling docs says to throw either a
UserError
orUserWarning
but if I have a mutation which is doing something in batch it would be good to be able to returndata
for what succeeded anderrors
for anything that failed.Is this currently possible or would it be a feature request?
Thanks,
Gary
Beta Was this translation helpful? Give feedback.
All reactions