Exception: DTK::ErrorAMQPQueueDoesNotExist

Inherits:
ErrorAMQP show all
Defined in:
lib/errors/errors.rb

Constant Summary

Constants inherited from Error

DTK::Error::CallerOffset, DTK::Error::DefaultCallerDepth

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

#to_hash, top_error_in_hash

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_nameObject (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_sObject



139
140
141
# File 'lib/errors/errors.rb', line 139

def to_s()
  "queue #{queue_name} does not exist"
end