From 06904269d867ed7c8355c0615473baf524fcf30b Mon Sep 17 00:00:00 2001 From: Matthias Baumgartner Date: Sun, 8 Jan 2023 17:21:19 +0100 Subject: parsing early port --- tagit/utils/errors.py | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'tagit/utils') diff --git a/tagit/utils/errors.py b/tagit/utils/errors.py index 1bed670..7a2556e 100644 --- a/tagit/utils/errors.py +++ b/tagit/utils/errors.py @@ -2,17 +2,17 @@ Part of the tagit module. A copy of the license is provided with the project. -Author: Matthias Baumgartner, 2018 +Author: Matthias Baumgartner, 2022 """ # exports __all__ = ( - 'EmptyFileError', - 'LoaderError', - 'NotAFileError', - 'ProgrammingError', - 'UserError', - 'abstract', - ) + 'EmptyFileError', + 'LoaderError', + 'NotAFileError', + 'ProgrammingError', + 'UserError', + 'abstract', + ) ## code ## @@ -49,4 +49,8 @@ class ParserBackendError(Exception): """Generic parser backend error.""" pass +class ParserError(Exception): + """String parsing failure.""" + pass + ## EOF ## -- cgit v1.2.3