Documentation

Error

Interfaces, Classes, Traits and Enums

ClientAware
This interface is used for [default error formatting](error-handling.md).
DebugFlag
Collection of flags for [error debugging](error-handling.md#debugging-tools).
Error
Describes an Error found during the parse, validate, or execute phases of performing a GraphQL operation. In addition to a message and stack trace, it also includes information about the locations in a GraphQL document and/or execution result that correspond to the Error.
FormattedError
This class is used for [default error formatting](error-handling.md).
InvariantViolation
Note: This exception should not inherit base Error exception as it is raised when there is an error somewhere in user-land code
SyntaxError
Describes an Error found during the parse, validate, or execute phases of performing a GraphQL operation. In addition to a message and stack trace, it also includes information about the locations in a GraphQL document and/or execution result that correspond to the Error.
UserError
Error caused by actions of GraphQL clients. Can be safely displayed to a client.
Warning
Encapsulates warnings produced by the library.

Search results