Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glossary: add "error" and "field error" #1597

Merged
merged 3 commits into from
Feb 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions rfcs/glossary/Appendix C -- Glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,22 @@ accessing this HTTP endpoint _implicitly_ defines the GraphQL schema to use.
> When using GraphQL over HTTP, it's common to encode the GraphQL request as
> JSON.

For more details, refer to [the specification definition](https://spec.graphql.org/draft/#request).

### error

**Definition**: An error is an anomalous condition that breaks the execution of an algorithm.

Errors are raised during the execution of an algorithm. Callers of the algorithm may handle errors and recover from the error.

Note: Errors can be thought as exceptions in languages that support them.

### (GraphQL) field error

**Definition**: A field error is an error raised during the execution of a particular field which results in partial response data.

For more details, refer to [the specification definition](https://spec.graphql.org/draft/#field-error).

### (GraphQL) request error

**Definition**: an error which occurs whilst preparing a GraphQL request for
Expand All @@ -185,6 +201,8 @@ Example:
> parse grammar or validation error in the requested document, an inability to
> determine which operation to execute, or invalid input values for variables.

For more details, refer to [the specification definition](https://spec.graphql.org/draft/#request-error).

### (GraphQL) service

**Definition**: a software capable of executing a GraphQL request and returning
Expand Down