Exception: WAZ::Queues::OptionOutOfRange
- Inherits:
-
WAZStorageException
- Object
- StandardError
- WAZStorageException
- WAZ::Queues::OptionOutOfRange
- Defined in:
- lib/waz/queues/exceptions.rb
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ OptionOutOfRange
constructor
A new instance of OptionOutOfRange.
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 |