Exception: Contender::ExecutionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Contender::ExecutionError
- Defined in:
- lib/contender/errors.rb
Overview
Raised when attempting to retrieve the result of a task that aborted by raising an exception
Instance Attribute Summary collapse
- #cause ⇒ Exception readonly
Instance Method Summary collapse
- #initialize(cause) ⇒ undefined constructor
Constructor Details
#initialize(cause) ⇒ undefined
21 22 23 24 |
# File 'lib/contender/errors.rb', line 21 def initialize(cause) @cause = cause set_backtrace cause.backtrace end |
Instance Attribute Details
#cause ⇒ Exception (readonly)
17 18 19 |
# File 'lib/contender/errors.rb', line 17 def cause @cause end |