aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/base
diff options
context:
space:
mode:
Diffstat (limited to 'bsie/base')
-rw-r--r--bsie/base/errors.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bsie/base/errors.py b/bsie/base/errors.py
index 760351f..dc3c30e 100644
--- a/bsie/base/errors.py
+++ b/bsie/base/errors.py
@@ -33,4 +33,10 @@ class ExtractorError(_BSIEError):
class ReaderError(_BSIEError):
"""The Reader failed to read the given file."""
+class ProgrammingError(_BSIEError):
+ """An assertion-like error that indicates a code-base issue."""
+
+class UnreachableError(ProgrammingError):
+ """Bravo, you've reached a point in code that should logically not be reachable."""
+
## EOF ##