Exception: Psyllium::ExceptionalCompletionError

Inherits:
Error
  • Object
show all
Defined in:
lib/psyllium/fiber.rb

Overview

Wrap Exception instances for propagation

Instance Method Summary collapse

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

#causeObject



16
17
18
# File 'lib/psyllium/fiber.rb', line 16

def cause
  @internal_exception
end