Exception: Armada::ServerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/armada/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(query) ⇒ ServerError

Returns a new instance of ServerError.



6
7
8
# File 'lib/armada/errors.rb', line 6

def initialize(query)
  @query = query
end

Instance Attribute Details

#queryObject (readonly)

Returns the value of attribute query.



5
6
7
# File 'lib/armada/errors.rb', line 5

def query
  @query
end