Exception: VerbotenKeys::Errors::StrategyNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- VerbotenKeys::Errors::StrategyNotFoundError
- Defined in:
- lib/verboten_keys/errors.rb
Instance Method Summary collapse
-
#initialize(invalid_strategy) ⇒ StrategyNotFoundError
constructor
A new instance of StrategyNotFoundError.
Constructor Details
#initialize(invalid_strategy) ⇒ StrategyNotFoundError
Returns a new instance of StrategyNotFoundError.
30 31 32 |
# File 'lib/verboten_keys/errors.rb', line 30 def initialize(invalid_strategy) super("VerbotenKeys' strategy must be a valid option. You passed in :#{invalid_strategy}, but the only valid options are: #{VerbotenKeys::Configuration::STRATEGIES}.") end |