Exception: Infusible::Errors::InvalidDependency
- Inherits:
-
StandardError
- Object
- StandardError
- Infusible::Errors::InvalidDependency
- Defined in:
- lib/infusible/errors/invalid_dependency.rb
Overview
Prevents improperly named dependencies from being injected.
Instance Method Summary collapse
-
#initialize(identifier:) ⇒ InvalidDependency
constructor
A new instance of InvalidDependency.
Constructor Details
#initialize(identifier:) ⇒ InvalidDependency
Returns a new instance of InvalidDependency.
7 8 9 |
# File 'lib/infusible/errors/invalid_dependency.rb', line 7 def initialize identifier: super "Cannot use #{identifier.inspect} as an identifier." end |