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.



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

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.



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

def type
  @type
end