Throwing a regular error in a mutation #1180
Answered
by
MichalLytek
sklymoshenko
asked this question in
Q&A
-
Hi, i am facing pretty much trivial bug. Basically when i am executing this mutations with already existed email, it returns a gql error
|
Beta Was this translation helpful? Give feedback.
Answered by
MichalLytek
Jan 25, 2022
Replies: 1 comment 1 reply
-
You can't |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sklymoshenko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't
return { message: err };
because you've declared GraphQL return type isUserSchema
.