Exception: Params::Registry::Error
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Params::Registry::Error
- Defined in:
- lib/params/registry/error.rb
Overview
We assume all errors are argument errors
Defined Under Namespace
Classes: Cardinality, Conflict, Correction, Dependency, Empirical, Syntax
Instance Method Summary collapse
-
#initialize(message, context: nil, value: nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, context: nil, value: nil) ⇒ Error
Returns a new instance of Error.
9 10 11 12 13 |
# File 'lib/params/registry/error.rb', line 9 def initialize , context: nil, value: nil @context = context @value = value super end |