Exception: RubyAem::Error
- Inherits:
-
StandardError
- Object
- StandardError
- RubyAem::Error
- Defined in:
- lib/ruby_aem/error.rb
Overview
RubyAem error, contains a message and RubyAem::Result object useful for debugging the result and response when an error occurs
Instance Attribute Summary collapse
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(message, result) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, result) ⇒ Error
Returns a new instance of Error.
21 22 23 24 |
# File 'lib/ruby_aem/error.rb', line 21 def initialize(, result) super() self.result = result end |
Instance Attribute Details
#result ⇒ Object
Returns the value of attribute result.
19 20 21 |
# File 'lib/ruby_aem/error.rb', line 19 def result @result end |