Exception: Dry::Protocol::DuplicateDefinition
- Inherits:
-
StandardError
- Object
- StandardError
- Dry::Protocol::DuplicateDefinition
- Defined in:
- lib/dry/errors/duplicate_definition.rb
Instance Method Summary collapse
-
#initialize(suspect) ⇒ DuplicateDefinition
constructor
A new instance of DuplicateDefinition.
Constructor Details
#initialize(suspect) ⇒ DuplicateDefinition
Returns a new instance of DuplicateDefinition.
4 5 6 |
# File 'lib/dry/errors/duplicate_definition.rb', line 4 def initialize(suspect) super "Duplicate definition of “#{suspect.inspect}” detected." end |