Exception: Zoidberg::Supervise::AbortException
- Inherits:
-
StandardError
- Object
- StandardError
- Zoidberg::Supervise::AbortException
- Defined in:
- lib/zoidberg/supervise.rb
Overview
Customized exception type to wrap allowed errors
Instance Attribute Summary collapse
-
#original_exception ⇒ Object
Returns the value of attribute original_exception.
Instance Method Summary collapse
Instance Attribute Details
#original_exception ⇒ Object
Returns the value of attribute original_exception.
8 9 10 |
# File 'lib/zoidberg/supervise.rb', line 8 def original_exception @original_exception end |
Instance Method Details
#to_s ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/zoidberg/supervise.rb', line 10 def to_s if(original_exception) "#{original_exception.class}: #{original_exception}" else super end end |