diff options
author | nico <nico@magicbroccoli.de> | 2019-12-19 18:15:47 +0100 |
---|---|---|
committer | nico <nico@magicbroccoli.de> | 2019-12-19 18:15:47 +0100 |
commit | 9b964690e79b5a4366e43fde01c6594de693be4d (patch) | |
tree | 72dd4c1ee364a44d6aedde66a798af239b3be44a /TSGroupAssigner/exceptions.py | |
parent | 6f19f160ef0d2d72c1db35abcf03ee28a3982d7c (diff) |
package finish up
* update setup.py
* better format the main __init__ file
* move exceptions to separate file for maintainability
* small corrections
Diffstat (limited to 'TSGroupAssigner/exceptions.py')
-rw-r--r-- | TSGroupAssigner/exceptions.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/TSGroupAssigner/exceptions.py b/TSGroupAssigner/exceptions.py new file mode 100644 index 0000000..a0bb55b --- /dev/null +++ b/TSGroupAssigner/exceptions.py @@ -0,0 +1,8 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + +__all__ = ['DateException'] + + +class DateException(Exception): + """Exceptions thrown if configured date is out of range""" |