class GraphQL::Schema::Resolver::LoadApplicationObjectFailedError

Attributes

argument[R]

@return [GraphQL::Schema::Argument] the argument definition for the argument that was looked up

id[R]

@return [String] The ID provided by the client

object[R]

@return [Object] The value found with this ID

Public Class Methods

new(argument:, id:, object:) click to toggle source
Calls superclass method GraphQL::ExecutionError::new
# File lib/graphql/schema/resolver.rb, line 177
def initialize(argument:, id:, object:)
  @id = id
  @argument = argument
  @object = object
  super("No object found for `#{argument.graphql_name}: #{id.inspect}`")
end