class GraphQL::ExecutionError

If a field’s resolve function returns an ExecutionError, the error will be inserted into the response’s "errors" key and the field will resolve to nil.