Exception: Cerberus::Exception::NoValueError

Inherits:
RuntimeError
  • Object
show all
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

Constructor Details

#initializeNoValueError

Init with exception message



14
15
16
# File 'lib/cerberus/exception/no_value_error.rb', line 14

def initialize
  super("No value specified")
end