Exception: ValidatorFn::MissingKey

Inherits:
Error
  • Object
show all
Defined in:
lib/validator_fn/error.rb

Instance Attribute Summary

Attributes inherited from Error

#my_msg

Instance Method Summary collapse

Methods inherited from Error

#message

Constructor Details

#initialize(key) ⇒ MissingKey

Returns a new instance of MissingKey.



25
26
27
# File 'lib/validator_fn/error.rb', line 25

def initialize(key)
  super("Missing field #{key.inspect}")
end