Exception: Isort::ExistingSyntaxErrors

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

Overview

Raised when the input file already has syntax errors

Instance Method Summary collapse

Constructor Details

#initialize(file_path) ⇒ ExistingSyntaxErrors

Returns a new instance of ExistingSyntaxErrors.



18
19
20
# File 'lib/isort.rb', line 18

def initialize(file_path)
  super("#{file_path} has existing syntax errors - skipping")
end