diff options
| author | Scott Gasch <[email protected]> | 2021-04-23 17:10:14 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2021-04-23 17:10:14 -0700 |
| commit | bf508f86e1576736d18cab08edbca834456045ee (patch) | |
| tree | 9c664175aad8cdfef4d021a9d8585eb6d424cc63 /exceptions.py | |
| parent | dab5654d392f69fb00bed49cf8ffb80f37642ea5 (diff) | |
Adding general exceptions.
Diffstat (limited to 'exceptions.py')
| -rw-r--r-- | exceptions.py | 13 |
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 + |
