Exception: Packwerk::OffensesFormatter::DuplicateFormatterError
- Inherits:
-
StandardError
- Object
- StandardError
- Packwerk::OffensesFormatter::DuplicateFormatterError
- Defined in:
- lib/packwerk/offenses_formatter.rb
Instance Method Summary collapse
-
#initialize(identifier) ⇒ DuplicateFormatterError
constructor
: (String identifier) -> void.
Constructor Details
#initialize(identifier) ⇒ DuplicateFormatterError
: (String identifier) -> void
9 10 11 |
# File 'lib/packwerk/offenses_formatter.rb', line 9 def initialize(identifier) super("Cannot have multiple identifiers with the same key (`#{identifier}`)") end |