Exception: Packwerk::OffensesFormatter::DuplicateFormatterError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/packwerk/offenses_formatter.rb

Instance Method Summary collapse

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