Exception: Base::UnkownError
- Inherits:
-
StandardError
- Object
- StandardError
- Base::UnkownError
- Defined in:
- lib/base/errors/unkown_error.rb
Overview
An error when we don’t know what happened.
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ UnkownError
constructor
A new instance of UnkownError.
Constructor Details
#initialize(error) ⇒ UnkownError
Returns a new instance of UnkownError.
8 9 10 |
# File 'lib/base/errors/unkown_error.rb', line 8 def initialize(error) @error = error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
6 7 8 |
# File 'lib/base/errors/unkown_error.rb', line 6 def error @error end |