Exception: Async::Wrapper::Cancelled
- Inherits:
-
StandardError
- Object
- StandardError
- Async::Wrapper::Cancelled
- Defined in:
- lib/async/wrapper.rb
Defined Under Namespace
Classes: From
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize ⇒ Cancelled
constructor
A new instance of Cancelled.
Constructor Details
#initialize ⇒ Cancelled
45 46 47 48 49 |
# File 'lib/async/wrapper.rb', line 45 def initialize super "The operation has been cancelled!" @cause = From.new end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
51 52 53 |
# File 'lib/async/wrapper.rb', line 51 def cause @cause end |