aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/base/errors.py
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2022-10-31 12:21:37 +0100
committerMatthias Baumgartner <dev@igsor.net>2022-10-31 12:21:37 +0100
commitce848b215086bd8d0f3e67a25a08239386b11ddb (patch)
tree68b1eaba6c2b702dc51e15a6e273b845ef251c89 /bsie/base/errors.py
parentcb49e4567a18de6851286ff672e54f9a91865fe9 (diff)
parentd2b4a528465dc01e8db92b61293c458c7911a333 (diff)
downloadbsie-ce848b215086bd8d0f3e67a25a08239386b11ddb.tar.gz
bsie-ce848b215086bd8d0f3e67a25a08239386b11ddb.tar.bz2
bsie-ce848b215086bd8d0f3e67a25a08239386b11ddb.zip
Merge branch 'mb/arch' into develop
Diffstat (limited to 'bsie/base/errors.py')
-rw-r--r--bsie/base/errors.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/bsie/base/errors.py b/bsie/base/errors.py
new file mode 100644
index 0000000..f86ffb2
--- /dev/null
+++ b/bsie/base/errors.py
@@ -0,0 +1,22 @@
+"""Common BSIE exceptions.
+
+Part of the bsie module.
+A copy of the license is provided with the project.
+Author: Matthias Baumgartner, 2022
+"""
+# imports
+import typing
+
+# exports
+__all__: typing.Sequence[str] = []
+
+
+## code ##
+
+class _BSIE_Error(Exception):
+ """Generic BSIE error."""
+
+class ReaderError(_BSIE_Error):
+ """The Reader failed to read the given file."""
+
+## EOF ##