Exception: WAZ::Queues::InvalidOperation

Inherits:
WAZStorageException show all
Defined in:
lib/waz/queues/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initializeInvalidOperation

Returns a new instance of InvalidOperation.



25
26
27
# File 'lib/waz/queues/exceptions.rb', line 25

def initialize()
  super("A peeked message cannot be delete, you need to lock it first (pop_receipt required).")
end