Send error message without return any value #2246
Unanswered
orhanerday
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
-
I have a function for channels it does not return any value. I need to stop the upcoming process in this function then I need to respond to an error.
https://gqlgen.com/reference/errors/#multiple-errors its returns
gqlerror.Errorf
but I can't return data, even if I do this there are upcoming functions.Beta Was this translation helpful? Give feedback.
All reactions