Exception: Isort::IntroducedSyntaxErrors
- Defined in:
- lib/isort.rb
Overview
Raised when isort would introduce syntax errors
Instance Method Summary collapse
-
#initialize(file_path) ⇒ IntroducedSyntaxErrors
constructor
A new instance of IntroducedSyntaxErrors.
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 |