From bf508f86e1576736d18cab08edbca834456045ee Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Fri, 23 Apr 2021 17:10:14 -0700 Subject: [PATCH] Adding general exceptions. --- exceptions.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 exceptions.py 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 + -- 2.45.2