Exception: Cerberus::Exception::NoValueError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Cerberus::Exception::NoValueError
- Defined in:
- lib/cerberus/exception/no_value_error.rb
Overview
Custom exception raised when a provider can’t successfully provide what is needed and this is likely an expected condition
Instance Method Summary collapse
-
#initialize ⇒ NoValueError
constructor
Init with exception message.
Constructor Details
#initialize ⇒ NoValueError
Init with exception message
14 15 16 |
# File 'lib/cerberus/exception/no_value_error.rb', line 14 def initialize super("No value specified") end |