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.



93
94
95
96
# File 'lib/graphql/schema.rb', line 93

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.



92
93
94
# File 'lib/graphql/schema.rb', line 92

def type
  @type
end