Exception: RubyLsp::Requests::Support::InternalRuboCopError
- Inherits:
-
StandardError
- Object
- StandardError
- RubyLsp::Requests::Support::InternalRuboCopError
- Extended by:
- T::Sig
- Defined in:
- lib/ruby_lsp/requests/support/rubocop_runner.rb
Constant Summary collapse
- MESSAGE =
<<~EOS An internal error occurred for the %s cop. Updating to a newer version of RuboCop may solve this. For more details, run RuboCop on the command line. EOS
Instance Method Summary collapse
-
#initialize(rubocop_error) ⇒ InternalRuboCopError
constructor
A new instance of InternalRuboCopError.
Constructor Details
permalink #initialize(rubocop_error) ⇒ InternalRuboCopError
Returns a new instance of InternalRuboCopError.
29 30 31 32 |
# File 'lib/ruby_lsp/requests/support/rubocop_runner.rb', line 29 def initialize(rubocop_error) = format(MESSAGE, rubocop_error.cop.name) super() end |