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
Is your feature request related to a problem? Please describe.
How do i handle error response? backend service may throw different error responses with different error codes, i might have to return custom formatted error response based on backend response, how do i do that? Describe the solution you'd like
a support for custom error handler to format error and return based on requirement. Would be very beneficial if it could be provided with js support to write custom error handler
Additional context
Mostly error response sent to app via graphql may need custom error messages, status codes depending on backend response so a error handler is required to format error that is sent as response via graphql
The text was updated successfully, but these errors were encountered:
like if my status code is between 500-599 , i may send a response with generic error message, also error response might be sending me some key MsgCode eg, then i may have different error response mapping on graphql side also based on this msg code etc
Is your feature request related to a problem? Please describe.
How do i handle error response? backend service may throw different error responses with different error codes, i might have to return custom formatted error response based on backend response, how do i do that?
Describe the solution you'd like
a support for custom error handler to format error and return based on requirement. Would be very beneficial if it could be provided with js support to write custom error handler
Additional context
Mostly error response sent to app via graphql may need custom error messages, status codes depending on backend response so a error handler is required to format error that is sent as response via graphql
The text was updated successfully, but these errors were encountered: