Exception: Ticketing::IoError
- Defined in:
- lib/ticketing/errors.rb
Overview
A socket read or write failed. #cause_error carries the underlying error; when it is a ConnectionClosed the broker treats the drop as retryable.
Instance Attribute Summary collapse
-
#cause_error ⇒ Object
readonly
Returns the value of attribute cause_error.
Instance Method Summary collapse
-
#initialize(cause) ⇒ IoError
constructor
A new instance of IoError.
Constructor Details
#initialize(cause) ⇒ IoError
Returns a new instance of IoError.
46 47 48 49 |
# File 'lib/ticketing/errors.rb', line 46 def initialize(cause) @cause_error = cause super("io error: #{cause}") end |
Instance Attribute Details
#cause_error ⇒ Object (readonly)
Returns the value of attribute cause_error.
44 45 46 |
# File 'lib/ticketing/errors.rb', line 44 def cause_error @cause_error end |