Exception: DTK::ErrorAMQPQueueDoesNotExist
- Defined in:
- lib/errors/errors.rb
Constant Summary
Constants inherited from Error
DTK::Error::CallerOffset, DTK::Error::DefaultCallerDepth
Instance Attribute Summary collapse
-
#queue_name ⇒ Object
readonly
Returns the value of attribute queue_name.
Instance Method Summary collapse
-
#initialize(queue_name) ⇒ ErrorAMQPQueueDoesNotExist
constructor
A new instance of ErrorAMQPQueueDoesNotExist.
- #to_s ⇒ Object
Methods inherited from Error
Constructor Details
#initialize(queue_name) ⇒ ErrorAMQPQueueDoesNotExist
Returns a new instance of ErrorAMQPQueueDoesNotExist.
136 137 138 |
# File 'lib/errors/errors.rb', line 136 def initialize(queue_name) @queue_name = queue_name end |
Instance Attribute Details
#queue_name ⇒ Object (readonly)
Returns the value of attribute queue_name.
135 136 137 |
# File 'lib/errors/errors.rb', line 135 def queue_name @queue_name end |
Instance Method Details
#to_s ⇒ Object
139 140 141 |
# File 'lib/errors/errors.rb', line 139 def to_s() "queue #{queue_name} does not exist" end |