You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question,
I'm looking for an easier way of parsing and handling errors on client.
I want to add an extension to the GraphQLError, So I can add an error code property.
Do you think it's possible?
I'm using Vapor so adding error headers to AbortError might also be an option, although I think extension would be much cleaner.
The text was updated successfully, but these errors were encountered:
Question,
I'm looking for an easier way of parsing and handling errors on client.
I want to add an extension to the
GraphQLError
, So I can add an error code property.Do you think it's possible?
I'm using
Vapor
so adding error headers toAbortError
might also be an option, although I think extension would be much cleaner.The text was updated successfully, but these errors were encountered: