eric6/ThirdParty/EditorConfig/editorconfig/exceptions.py

changeset 8258
82b608e352ec
parent 8257
28146736bbfc
child 8259
2bbec88047dd
--- a/eric6/ThirdParty/EditorConfig/editorconfig/exceptions.py	Tue Apr 20 19:47:39 2021 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-"""EditorConfig exception classes
-
-Licensed under Simplified BSD License (see LICENSE.BSD file).
-
-"""
-
-
-class EditorConfigError(Exception):
-    """Parent class of all exceptions raised by EditorConfig"""
-
-
-try:
-    from ConfigParser import ParsingError as _ParsingError
-except:
-    from configparser import ParsingError as _ParsingError
-
-
-class ParsingError(_ParsingError, EditorConfigError):
-    """Error raised if an EditorConfig file could not be parsed"""
-
-
-class PathError(ValueError, EditorConfigError):
-    """Error raised if invalid filepath is specified"""
-
-
-class VersionError(ValueError, EditorConfigError):
-    """Error raised if invalid version number is specified"""

eric ide

mercurial