projects
/
python_utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dab5654
)
Adding general exceptions.
author
Scott Gasch
<scott@gasch.org>
Sat, 24 Apr 2021 00:10:14 +0000
(17:10 -0700)
committer
Scott Gasch
<scott@gasch.org>
Sat, 24 Apr 2021 00:10:14 +0000
(17:10 -0700)
exceptions.py
[new file with mode: 0644]
patch
|
blob
diff --git a/exceptions.py
b/exceptions.py
new file mode 100644
(file)
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
+