API Design · Middle · Question 44 of 75
How do GraphQL errors differ from REST errors?
- 1GraphQL has no error handling
- ✓Correct answer: A response can return partial
dataplus anerrorsarray, often with HTTP 200, so clients must check both - 3GraphQL always returns 500 on errors
Explanation
Some teams model expected business errors as part of the schema (union result types) instead of using errors.