diff options
author | 2018-02-09 12:51:58 +0000 | |
---|---|---|
committer | 2018-02-09 12:51:58 +0000 | |
commit | f18a4dede529d3bf2ed524d2e0efcdb9e8419d58 (patch) | |
tree | a51530fa54bbf15f2559659db8469669dbfb3ad2 /pysite/constants.py | |
parent | Move from straight app registration to Blueprints (#6) (diff) |
Base API route and error codes enum
Diffstat (limited to 'pysite/constants.py')
-rw-r--r-- | pysite/constants.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pysite/constants.py b/pysite/constants.py new file mode 100644 index 00000000..8c3d9c1c --- /dev/null +++ b/pysite/constants.py @@ -0,0 +1,8 @@ +# coding=utf-8 +__author__ = "Gareth Coles" + +from enum import IntEnum + + +class ErrorCodes(IntEnum): + unknown_route = 0 |