aboutsummaryrefslogtreecommitdiffstats
path: root/tagit/utils
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2023-01-08 17:21:19 +0100
committerMatthias Baumgartner <dev@igsor.net>2023-01-08 17:21:19 +0100
commit06904269d867ed7c8355c0615473baf524fcf30b (patch)
treee94ecf79bd1c7f2738d0f031675303ad1ee20e9e /tagit/utils
parent7cf03c4de5244e7db3f44362a275f92368fd86ac (diff)
downloadtagit-06904269d867ed7c8355c0615473baf524fcf30b.tar.gz
tagit-06904269d867ed7c8355c0615473baf524fcf30b.tar.bz2
tagit-06904269d867ed7c8355c0615473baf524fcf30b.zip
parsing early port
Diffstat (limited to 'tagit/utils')
-rw-r--r--tagit/utils/errors.py20
1 files changed, 12 insertions, 8 deletions
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 ##