Exception: Jsapi::InvalidValueError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Jsapi::InvalidValueError
- Includes:
- InvalidValueHelper
- Defined in:
- lib/jsapi/invalid_value_error.rb
Overview
Raised when a value isn’t contained in the list of valid values.
Instance Method Summary collapse
-
#initialize(name, value, valid_values: []) ⇒ InvalidValueError
constructor
A new instance of InvalidValueError.
Methods included from InvalidValueHelper
Constructor Details
#initialize(name, value, valid_values: []) ⇒ InvalidValueError
Returns a new instance of InvalidValueError.
8 9 10 |
# File 'lib/jsapi/invalid_value_error.rb', line 8 def initialize(name, value, valid_values: []) super((name, value, valid_values)) end |