Error
Interfaces, Classes and Traits
- ClientAware
- Implementing ClientAware allows graphql-php to decide if this error is safe to be shown to clients.
- ProvidesExtensions
- Implementing HasExtensions allows this error to provide additional data to clients.
- CoercionError
- Describes an Error found during the parse, validate, or execute phases of performing a Automattic\WooCommerce\Vendor\GraphQL operation. In addition to a message and stack trace, it also includes information about the locations in a Automattic\WooCommerce\Vendor\GraphQL document and/or execution result that correspond to the Error.
- 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 Automattic\WooCommerce\Vendor\GraphQL operation. In addition to a message and stack trace, it also includes information about the locations in a Automattic\WooCommerce\Vendor\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.
- SerializationError
- Thrown when failing to serialize a leaf value.
- SyntaxError
- Describes an Error found during the parse, validate, or execute phases of performing a Automattic\WooCommerce\Vendor\GraphQL operation. In addition to a message and stack trace, it also includes information about the locations in a Automattic\WooCommerce\Vendor\GraphQL document and/or execution result that correspond to the Error.
- UserError
- Caused by Automattic\WooCommerce\Vendor\GraphQL clients and can safely be displayed.
- Warning
- Encapsulates warnings produced by the library.
