ryz310/rubocop_challenger

View on GitHub
lib/rubocop_challenger/errors.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module RubocopChallenger
  module Errors
    # Raise if no autocorrectable rule in the `.rubocop_todo.yml`.
    class NoAutoCorrectableRule < StandardError
      def initialize
        super('There is no autocorrectable rule')
      end
    end
  end
end