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
Returns a new instance of Cancelled.
43 44 45 46 47 |
# File 'lib/async/wrapper.rb', line 43 def initialize super "The operation has been cancelled!" @cause = From.new end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
49 50 51 |
# File 'lib/async/wrapper.rb', line 49 def cause @cause end |