Skip to content

Customize Error Messages #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
joncursi opened this issue May 22, 2017 · 0 comments
Open

Customize Error Messages #58

joncursi opened this issue May 22, 2017 · 0 comments

Comments

@joncursi
Copy link

Would be great if there were a hook in this library to customize the errors that come back from the graph QL server. Such as using https://github.com/thebigredgeek/apollo-errors

For example, if the error is user is not found, the error is:

GraphQL error: User not found [403]

But I would like it to say

No account for user <user>. Did you mean to sign up instead?
@joncursi joncursi changed the title Custom Errors Customize Error Messages Jun 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant