Exception: WAZ::Storage::InvalidOption
- Inherits:
-
StorageException
- Object
- StandardError
- StorageException
- WAZ::Storage::InvalidOption
- Defined in:
- lib/waz/storage/exceptions.rb
Overview
This exception raises whenever a required parameter for initializing any class isn’t provided. From WAZ::Storage::Base up to WAZ::Queues::Queue all of them use this exception.
Instance Method Summary collapse
-
#initialize(missing_option) ⇒ InvalidOption
constructor
A new instance of InvalidOption.
Constructor Details
#initialize(missing_option) ⇒ InvalidOption
Returns a new instance of InvalidOption.
12 13 14 |
# File 'lib/waz/storage/exceptions.rb', line 12 def initialize(missing_option) super("You did not provide one of the required parameters. Please provide the #{missing_option}.") end |