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.



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

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.



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

def type
  @type
end