Exception: Params::Registry::Error::Correction
- Inherits:
-
Empirical
- Object
- ArgumentError
- Params::Registry::Error
- Empirical
- Params::Registry::Error::Correction
- Defined in:
- lib/params/registry/error.rb
Overview
A correctable error
Instance Method Summary collapse
-
#initialize(message, context: nil, value: nil, nearest: nil) ⇒ Correction
constructor
A new instance of Correction.
Constructor Details
#initialize(message, context: nil, value: nil, nearest: nil) ⇒ Correction
Returns a new instance of Correction.
29 30 31 32 |
# File 'lib/params/registry/error.rb', line 29 def initialize , context: nil, value: nil, nearest: nil @nearest = nearest super , context: context, value: value end |