Exception: Isort::IntroducedSyntaxErrors

Inherits:
Error
  • Object
show all
Defined in:
lib/isort.rb

Overview

Raised when isort would introduce syntax errors

Instance Method Summary collapse

Constructor Details

#initialize(file_path) ⇒ IntroducedSyntaxErrors

Returns a new instance of IntroducedSyntaxErrors.



25
26
27
# File 'lib/isort.rb', line 25

def initialize(file_path)
  super("isort would introduce syntax errors in #{file_path} - not saving")
end