Exception: Ruote::MetaError
- Inherits:
-
StandardError
- Object
- StandardError
- Ruote::MetaError
- Defined in:
- lib/ruote/svc/error_handler.rb
Overview
For errors occuring when handling errors.
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(message, error) ⇒ MetaError
constructor
A new instance of MetaError.
Constructor Details
#initialize(message, error) ⇒ MetaError
Returns a new instance of MetaError.
35 36 37 38 39 |
# File 'lib/ruote/svc/error_handler.rb', line 35 def initialize(, error) super("#{message}: #{error.to_s}") @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
33 34 35 |
# File 'lib/ruote/svc/error_handler.rb', line 33 def error @error end |