Class: Celluloid::ErrorResponse
- Defined in:
- lib/celluloid/responses.rb
Overview
Call was aborted due to caller error
Instance Attribute Summary
Attributes inherited from Response
Instance Method Summary collapse
Methods inherited from Response
Constructor Details
This class inherits a constructor from Celluloid::Response
Instance Method Details
#value ⇒ Object
16 17 18 19 20 21 22 23 24 |
# File 'lib/celluloid/responses.rb', line 16 def value if super.is_a? AbortError # Aborts are caused by caller error, so ensure they capture the # caller's backtrace instead of the receiver's raise super.cause.exception else raise super end end |