Exception: PennyWise::Exceptions::ErrorHandlerException
- Inherits:
-
PennyWiseError
- Object
- Exception
- PennyWiseError
- PennyWise::Exceptions::ErrorHandlerException
- Defined in:
- lib/penny_wise/exceptions.rb
Instance Attribute Summary
Attributes inherited from PennyWiseError
Instance Method Summary collapse
-
#initialize(original_exception, handler_exception) ⇒ ErrorHandlerException
constructor
A new instance of ErrorHandlerException.
Constructor Details
#initialize(original_exception, handler_exception) ⇒ ErrorHandlerException
Returns a new instance of ErrorHandlerException.
13 14 15 16 17 18 |
# File 'lib/penny_wise/exceptions.rb', line 13 def initialize(original_exception, handler_exception) @message = "`ErrorHandler` encountered exception `#{handler_exception.class.name}`" \ " while trying to handle exception `#{original_exception.class.name}`:" \ "\n#{handler_exception.}" @backtrace = handler_exception.backtrace end |