diff options
| author | 2018-10-20 20:51:29 +0100 | |
|---|---|---|
| committer | 2018-10-20 20:53:24 +0100 | |
| commit | 8ea6db9422301765ae350d5c271246bc5245b1bd (patch) | |
| tree | c49c46808b5e7e2cdea0e45c385a3506730ee757 /src/utils | |
| parent | Typo in modules/coins.py, 'nickanme' -> 'nickname' (diff) | |
| signature | ||
Standardise "Failed to load results" errors!
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/__init__.py b/src/utils/__init__.py index a95790da..658a434d 100644 --- a/src/utils/__init__.py +++ b/src/utils/__init__.py @@ -136,6 +136,9 @@ def prevent_highlight(nickname): class EventError(Exception): pass +class EventsResultsError(EventError): + def __init__(self): + EventError.__init__(self, "Failed to load results") def _set_get_append(obj, setting, item): if not hasattr(obj, setting): |
