Exception: Packwerk::OffensesFormatter::DuplicateFormatterError

Inherits:
StandardError
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/packwerk/offenses_formatter.rb

Instance Method Summary collapse

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