summaryrefslogtreecommitdiff
path: root/exceptions.py
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2021-04-23 17:10:14 -0700
committerScott Gasch <[email protected]>2021-04-23 17:10:14 -0700
commitbf508f86e1576736d18cab08edbca834456045ee (patch)
tree9c664175aad8cdfef4d021a9d8585eb6d424cc63 /exceptions.py
parentdab5654d392f69fb00bed49cf8ffb80f37642ea5 (diff)
Adding general exceptions.
Diffstat (limited to 'exceptions.py')
-rw-r--r--exceptions.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/exceptions.py b/exceptions.py
new file mode 100644
index 0000000..3ce94d3
--- /dev/null
+++ b/exceptions.py
@@ -0,0 +1,13 @@
+#!/usr/bin/env python3
+
+class PreconditionException(AssertionError):
+ pass
+
+
+class PostconditionException(AssertionError):
+ pass
+
+
+class TimeoutError(Exception):
+ pass
+