Exception: GQL::Errors::VariableNotFound

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

Returns a new instance of VariableNotFound.



57
58
59
60
61
# File 'lib/gql/errors.rb', line 57

def initialize(id)
  msg = "The variable named `<#{id}>' has no value."

  super(msg, 113, id)
end