"""EditorConfig exception classes

Licensed under PSF License (see LICENSE.txt file).

"""

from ConfigParser import ParsingError as _ParsingError


class ParsingError(_ParsingError):
    """Error raised if an EditorConfig file could not be parsed"""


class PathError(ValueError):
    """Error raised if invalid filepath is specified"""


class VersionError(ValueError):
    """Error raised if invalid version number is specified"""

@@ -85,16 +85,64 @@
 .%0A%0A%22%22%22%0A%0A
+%0Aclass EditorConfigError(Exception):%0A    pass%0A%0A%0A
 from Con
@@ -218,24 +218,43 @@
 ParsingError
+, EditorConfigError
 ):%0A    %22%22%22Er
@@ -331,32 +331,51 @@
 Error(ValueError
+, EditorConfigError
 ):%0A    %22%22%22Error 
@@ -415,24 +415,24 @@
 cified%22%22%22%0A%0A%0A
-
 class Versio
@@ -444,24 +444,43 @@
 r(ValueError
+, EditorConfigError
 ):%0A    %22%22%22Er

Add superclass for all EditorConfig exceptions