Skip to content
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

Custom error types #95

Merged
merged 2 commits into from
Apr 28, 2018
Merged

Custom error types #95

merged 2 commits into from
Apr 28, 2018

Conversation

vektah
Copy link
Collaborator

@vektah vektah commented Apr 27, 2018

A pretty large refactor of resolver errors:

  • Split them out from QueryError
  • Make them fully customizable from the error presenter function, not just the message
  • Track the current paths in resolver context
  • add context to the presenter callback
  • Include the current resolver path in the default error function

Fixes #90

@vektah vektah merged commit 0c7bdfc into master Apr 28, 2018
@vektah vektah deleted the custom-error-types branch April 28, 2018 02:03
cgxxv pushed a commit to cgxxv/gqlgen that referenced this pull request Mar 25, 2022
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

Successfully merging this pull request may close these issues.

Complex Errors
1 participant