Exception: Armada::ServerError
- Inherits:
-
StandardError
- Object
- StandardError
- Armada::ServerError
- Defined in:
- lib/armada/errors.rb
Instance Attribute Summary collapse
-
#query ⇒ Object
readonly
Returns the value of attribute query.
Instance Method Summary collapse
-
#initialize(query) ⇒ ServerError
constructor
A new instance of ServerError.
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
#query ⇒ Object (readonly)
Returns the value of attribute query.
5 6 7 |
# File 'lib/armada/errors.rb', line 5 def query @query end |