Exception: Isort::FileSkipped

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

Overview

Raised when file contains skip directive

Instance Method Summary collapse

Constructor Details

#initialize(file_path, reason = "skip directive") ⇒ FileSkipped

Returns a new instance of FileSkipped.



32
33
34
# File 'lib/isort.rb', line 32

def initialize(file_path, reason = "skip directive")
  super("#{file_path} skipped due to #{reason}")
end