Exception: Disloku::DislokuError
- Inherits:
-
StandardError
- Object
- StandardError
- Disloku::DislokuError
- Defined in:
- lib/disloku/DislokuError.rb
Instance Method Summary collapse
-
#initialize(msg = nil, recoverable = false) ⇒ DislokuError
constructor
A new instance of DislokuError.
- #recoverable? ⇒ Boolean
Constructor Details
#initialize(msg = nil, recoverable = false) ⇒ DislokuError
Returns a new instance of DislokuError.
5 6 7 8 |
# File 'lib/disloku/DislokuError.rb', line 5 def initialize(msg = nil, recoverable = false) super(msg) @recoverable = recoverable end |
Instance Method Details
#recoverable? ⇒ Boolean
10 11 12 |
# File 'lib/disloku/DislokuError.rb', line 10 def recoverable?() return @recoverable end |