Exception: Optionoids::Errors::ExpectedMultipleKeys
- Inherits:
-
StandardError
- Object
- StandardError
- Optionoids::Errors::ExpectedMultipleKeys
- Defined in:
- lib/optionoids/errors.rb
Overview
Custom error class to indicate that a checker expected multiple keys but none were provided
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ ExpectedMultipleKeys
constructor
A new instance of ExpectedMultipleKeys.
Constructor Details
#initialize(message = nil) ⇒ ExpectedMultipleKeys
Returns a new instance of ExpectedMultipleKeys.
126 127 128 129 |
# File 'lib/optionoids/errors.rb', line 126 def initialize( = nil) msg = || 'Expected multiple keys but none were provided' super(msg) end |