Exception: OMQ::QoS::NackError
- Inherits:
-
StandardError
- Object
- StandardError
- OMQ::QoS::NackError
- Defined in:
- lib/omq/qos/error_codes.rb
Overview
Raised to a QoS 3 REQ sender's fiber when the REP peer returns a NACK. Carries the wire-level code + message so the caller can inspect them.
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code, message) ⇒ NackError
constructor
A new instance of NackError.
Constructor Details
#initialize(code, message) ⇒ NackError
Returns a new instance of NackError.
90 91 92 93 |
# File 'lib/omq/qos/error_codes.rb', line 90 def initialize(code, ) super() @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
87 88 89 |
# File 'lib/omq/qos/error_codes.rb', line 87 def code @code end |