Exception: WAZ::Queues::OptionOutOfRange

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

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ OptionOutOfRange

Returns a new instance of OptionOutOfRange.



19
20
21
# File 'lib/waz/queues/exceptions.rb', line 19

def initialize(args = {})
  super("The #{args[:name]} parameter is out of range allowed values go from #{args[:min]} to  #{args[:max]}.")
end