Skip to content

Commit df8ea23

Browse files
martinbonninbenjie
andauthored
Glossary: add "error" and "field error" (#1597)
* Glossary add "error" and "field error" * Update rfcs/glossary/Appendix C -- Glossary.md * add links to the specification --------- Co-authored-by: Benjie <[email protected]>
1 parent 9df0e0b commit df8ea23

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

rfcs/glossary/Appendix C -- Glossary.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,22 @@ accessing this HTTP endpoint _implicitly_ defines the GraphQL schema to use.
172172
> When using GraphQL over HTTP, it's common to encode the GraphQL request as
173173
> JSON.
174174
175+
For more details, refer to [the specification definition](https://spec.graphql.org/draft/#request).
176+
177+
### error
178+
179+
**Definition**: An error is an anomalous condition that breaks the execution of an algorithm.
180+
181+
Errors are raised during the execution of an algorithm. Callers of the algorithm may handle errors and recover from the error.
182+
183+
Note: Errors can be thought as exceptions in languages that support them.
184+
185+
### (GraphQL) field error
186+
187+
**Definition**: A field error is an error raised during the execution of a particular field which results in partial response data.
188+
189+
For more details, refer to [the specification definition](https://spec.graphql.org/draft/#field-error).
190+
175191
### (GraphQL) request error
176192
177193
**Definition**: an error which occurs whilst preparing a GraphQL request for
@@ -185,6 +201,8 @@ Example:
185201
> parse grammar or validation error in the requested document, an inability to
186202
> determine which operation to execute, or invalid input values for variables.
187203
204+
For more details, refer to [the specification definition](https://spec.graphql.org/draft/#request-error).
205+
188206
### (GraphQL) service
189207
190208
**Definition**: a software capable of executing a GraphQL request and returning

0 commit comments

Comments
 (0)