Exception: Psyllium::ExceptionalCompletionError
- Defined in:
- lib/psyllium/fiber.rb
Overview
Wrap Exception instances for propagation
Instance Method Summary collapse
- #cause ⇒ Object
-
#initialize(expt) ⇒ ExceptionalCompletionError
constructor
A new instance of ExceptionalCompletionError.
Constructor Details
#initialize(expt) ⇒ ExceptionalCompletionError
Returns a new instance of ExceptionalCompletionError.
11 12 13 14 |
# File 'lib/psyllium/fiber.rb', line 11 def initialize(expt) @internal_exception = expt super(@internal_exception) end |
Instance Method Details
#cause ⇒ Object
16 17 18 |
# File 'lib/psyllium/fiber.rb', line 16 def cause @internal_exception end |