Exception: Celluloid::AbortError
- Defined in:
- lib/celluloid/exceptions.rb
Overview
The sender made an error, not the current actor
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(cause) ⇒ AbortError
constructor
A new instance of AbortError.
Constructor Details
#initialize(cause) ⇒ AbortError
Returns a new instance of AbortError.
16 17 18 19 |
# File 'lib/celluloid/exceptions.rb', line 16 def initialize(cause) @cause = cause super "caused by #{cause.inspect}: #{cause}" end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
15 16 17 |
# File 'lib/celluloid/exceptions.rb', line 15 def cause @cause end |