Exception: GraphQL::Schema::UnresolvedLateBoundTypeError

Inherits:
Error
  • Object
show all
Defined in:
lib/graphql/schema.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type:) ⇒ UnresolvedLateBoundTypeError

Returns a new instance of UnresolvedLateBoundTypeError.



97
98
99
100
# File 'lib/graphql/schema.rb', line 97

def initialize(type:)
  @type = type
  super("Late bound type was never found: #{type.inspect}")
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



96
97
98
# File 'lib/graphql/schema.rb', line 96

def type
  @type
end