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 | 2 | 618 | February 6, 2025 | |
Apollo Server v4 Error Handling | 0 | 115 | August 5, 2024 | |
Query.Product defined in resolvers, but not in schema | 1 | 760 | April 2, 2024 | |
Next.js apollo - where does the data model change? | 1 | 363 | January 18, 2023 | |
Knowing the graphql file where schema errors have occurred | 0 | 18 | September 18, 2024 |