Hi, We know that in case of error, we have an error object below data object in response and it has certain fields but can we standardize the format that irrespective of error thrown I want to show error object in certain manner only like with certain attributes everytime ?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Modify response object for success and errors | 1 | 581 | May 10, 2023 | |
Apollo Server v4 Error Handling | 0 | 43 | August 5, 2024 | |
How to return both error and data in a graphql resolver? | 2 | 2095 | June 15, 2022 | |
Resolver / Schema issue? | 5 | 3545 | July 15, 2021 | |
Query.Product defined in resolvers, but not in schema | 1 | 604 | April 2, 2024 |