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.



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

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.



89
90
91
# File 'lib/graphql/schema.rb', line 89

def type
  @type
end