mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 02:01:40 -05:00
docs: reword intro for features/errors
This commit is contained in:
parent
222400ebf4
commit
33697e68a7
1 changed files with 2 additions and 2 deletions
|
@ -5,9 +5,9 @@ description: Making errors actionable on the client and server
|
|||
|
||||
## Overview
|
||||
|
||||
Apollo server provides a couple predefined errors, including `AuthenticationError`, `ForbiddenError`, and a generic `ApolloError`. These errors enhance before and during GraphQL execution. These errors focus on improving the ability to debug a server as well as enabling the client to take specific action based on an error.
|
||||
Apollo server provides a couple predefined errors, including `AuthenticationError`, `ForbiddenError`, and a generic `ApolloError`. These errors are designed to enhance errors thrown before and during GraphQL execution. The provided errors focus on debugging a Apollo server as well as enabling the client to take specific action based on an error.
|
||||
|
||||
When an error occurs in Apollo server both inside and outside of resolvers, each error inside of the `errors` array will contain an object at `extensions` that contains additional information.
|
||||
When an error occurs in Apollo server both inside and outside of resolvers, each error inside of the `errors` array will contain an object at `extensions` that contains the information added by Apollo server.
|
||||
|
||||
## Default information
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue