Exception: Git::Lint::Errors::Severity

Inherits:
Base
  • Object
show all
Defined in:
lib/git/lint/errors/severity.rb

Instance Method Summary collapse

Constructor Details

#initialize(level) ⇒ Severity

Returns a new instance of Severity.



7
8
9
# File 'lib/git/lint/errors/severity.rb', line 7

def initialize level
  super %(Invalid severity level: #{level}. Use: #{Analyzers::Abstract::LEVELS.join ", "}.)
end