Exception: GQL::Errors::FieldNotFound

Inherits:
NotFoundError show all
Defined in:
lib/gql/errors.rb

Instance Attribute Summary

Attributes inherited from GQL::Error

#code, #handle

Instance Method Summary collapse

Methods inherited from GQL::Error

#as_json

Constructor Details

#initialize(id, node_class) ⇒ FieldNotFound

Returns a new instance of FieldNotFound.



49
50
51
52
53
# File 'lib/gql/errors.rb', line 49

def initialize(id, node_class)
  msg = construct_message(node_class, id, 'field', :fields)

  super(msg, 112, id)
end