Exception: Params::Registry::Error::Dependency
- Inherits:
-
Empirical
- Object
- ArgumentError
- Params::Registry::Error
- Empirical
- Params::Registry::Error::Dependency
- Defined in:
- lib/params/registry/error.rb
Overview
Errors for when there is a missing dependency
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(message, context: nil, value: nil, others: nil) ⇒ Dependency
constructor
A new instance of Dependency.
Constructor Details
#initialize(message, context: nil, value: nil, others: nil) ⇒ Dependency
Returns a new instance of Dependency.
37 38 39 40 |
# File 'lib/params/registry/error.rb', line 37 def initialize , context: nil, value: nil, others: nil @others = Types::Array[others] super , context: context, value: value, others: others end |