Class: ClearLogic::CatchedError
- Inherits:
-
Object
- Object
- ClearLogic::CatchedError
- Defined in:
- lib/clear_logic/errors/catched_error.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ CatchedError
constructor
A new instance of CatchedError.
Constructor Details
#initialize(error) ⇒ CatchedError
Returns a new instance of CatchedError.
7 8 9 |
# File 'lib/clear_logic/errors/catched_error.rb', line 7 def initialize(error) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
5 6 7 |
# File 'lib/clear_logic/errors/catched_error.rb', line 5 def error @error end |