ErrorBuilder
Builder for constructing GraphQLError instances.
Typically used inside a ResolverErrorBuilder implementation to build custom error responses. When created via newError(metadata), the path and location are automatically populated from the ErrorReporter.Metadata.
See also
Functions
Link copied to clipboard
Builds and returns the GraphQLError.
Link copied to clipboard
Adds a single key-value pair to this error's extensions map.
Link copied to clipboard
Merges the given entries into this error's extensions map.
Link copied to clipboard
Sets a single source location for this error.
Link copied to clipboard
Sets multiple source locations for this error.
Link copied to clipboard
Sets the human-readable error message.
Link copied to clipboard
Sets the execution path to the field that produced this error.