Exception: RuboCop::Warning

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubocop/warning.rb

Overview

A Warning exception is different from an Offense with severity ‘warning’ When a Warning is raised, this means that RuboCop was unable to perform a requested operation (such as inspecting or correcting a source file) due to user error For example, a configuration value in .rubocop.yml might be malformed