Exception: GQL::Errors::CallNotFound

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) ⇒ CallNotFound

Returns a new instance of CallNotFound.



41
42
43
44
45
# File 'lib/gql/errors.rb', line 41

def initialize(id, node_class)
  msg = construct_message(node_class, id, 'call', :calls)

  super(msg, 111, id)
end