Exception: Params::Registry::Error::Dependency

Inherits:
Empirical show all
Defined in:
lib/params/registry/error.rb

Overview

Errors for when there is a missing dependency

Direct Known Subclasses

Conflict

Instance Method Summary collapse

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 message, context: nil, value: nil, others: nil
  @others = Types::Array[others]
  super message, context: context, value: value, others: others
end