File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 2424
2525
2626class DelbBaseException (Exception ):
27+ """Base class for all of delb's exceptions."""
28+
2729 pass
2830
2931
@@ -62,18 +64,26 @@ class InvalidOperation(DelbBaseException):
6264
6365
6466class ParsingError (DelbBaseException ):
67+ """Base class for parsing related exceptions."""
68+
6569 pass
6670
6771
6872class ParsingProcessingError (ParsingError ):
73+ """Raised when a parsing operation cannot proceed in the actual context."""
74+
6975 pass
7076
7177
7278class ParsingValidityError (ParsingError ):
79+ """Raised non-well-formed phenomena are encountered."""
80+
7381 pass
7482
7583
7684class XPathEvaluationError (DelbBaseException ):
85+ """Raised when an XPath expression can't be properly evaluated."""
86+
7787 def __init__ (self , message : str ):
7888 super ().__init__ (message )
7989
You can’t perform that action at this time.
0 commit comments