Exception: Packwerk::OffensesFormatter::DuplicateFormatterError
- Inherits:
-
StandardError
- Object
- StandardError
- Packwerk::OffensesFormatter::DuplicateFormatterError
- Extended by:
- T::Sig
- Defined in:
- lib/packwerk/offenses_formatter.rb
Instance Method Summary collapse
-
#initialize(identifier) ⇒ DuplicateFormatterError
constructor
A new instance of DuplicateFormatterError.
Constructor Details
#initialize(identifier) ⇒ DuplicateFormatterError
Returns a new instance of DuplicateFormatterError.
15 16 17 |
# File 'lib/packwerk/offenses_formatter.rb', line 15 def initialize(identifier) super("Cannot have multiple identifiers with the same key (`#{identifier}`)") end |