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

Make GraphQLResultError public #655

Conversation

p4checo
Copy link
Contributor

@p4checo p4checo commented Jul 21, 2019

Motivation

Errors produced by Apollo SDK should be public so that clients can perform type safe error handling using pattern matching.

Errors produced by Apollo SDK should be public so that clients can
perform type safe error handling using pattern matching.
@apollo-cla
Copy link

@p4checo: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/

Following previous reasoning, it's useful to also expose the
`GraphQLResultError.underlying` error as public.
@designatednerd designatednerd merged commit ee248a6 into apollographql:master Jul 21, 2019
@p4checo p4checo deleted the change/make-graphql-result-error-public branch July 21, 2019 16:33
@designatednerd designatednerd added this to the 0.13.0 milestone Jul 22, 2019
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.

3 participants