diff options
Diffstat (limited to 'venv/lib/python3.11/site-packages/editorconfig/exceptions.py')
-rw-r--r-- | venv/lib/python3.11/site-packages/editorconfig/exceptions.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/venv/lib/python3.11/site-packages/editorconfig/exceptions.py b/venv/lib/python3.11/site-packages/editorconfig/exceptions.py deleted file mode 100644 index c25f681..0000000 --- a/venv/lib/python3.11/site-packages/editorconfig/exceptions.py +++ /dev/null @@ -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""" |