Sha256: 8788c091082e5431f9beda382415af1f8f82935193323dd37d8a5cafa6750134

Contents?: true

Size: 308 Bytes

Versions: 28

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

module Git
  module Lint
    module Errors
      # Categorizes severity errors.
      class Severity < Base
        def initialize level
          super %(Invalid severity level: #{level}. Use: #{Analyzers::Abstract::LEVELS.join ", "}.)
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
git-lint-6.2.1 lib/git/lint/errors/severity.rb
git-lint-6.2.0 lib/git/lint/errors/severity.rb
git-lint-6.1.0 lib/git/lint/errors/severity.rb
git-lint-6.0.2 lib/git/lint/errors/severity.rb
git-lint-6.0.1 lib/git/lint/errors/severity.rb
git-lint-6.0.0 lib/git/lint/errors/severity.rb
git-lint-5.3.0 lib/git/lint/errors/severity.rb
git-lint-5.2.0 lib/git/lint/errors/severity.rb
git-lint-5.1.2 lib/git/lint/errors/severity.rb
git-lint-5.1.1 lib/git/lint/errors/severity.rb
git-lint-5.1.0 lib/git/lint/errors/severity.rb
git-lint-5.0.0 lib/git/lint/errors/severity.rb
git-lint-4.6.0 lib/git/lint/errors/severity.rb
git-lint-4.5.0 lib/git/lint/errors/severity.rb
git-lint-4.4.0 lib/git/lint/errors/severity.rb
git-lint-4.3.0 lib/git/lint/errors/severity.rb
git-lint-4.2.0 lib/git/lint/errors/severity.rb
git-lint-4.1.0 lib/git/lint/errors/severity.rb
git-lint-4.0.1 lib/git/lint/errors/severity.rb
git-lint-4.0.0 lib/git/lint/errors/severity.rb