diff options
Diffstat (limited to 'ick2/exceptions.py')
-rw-r--r-- | ick2/exceptions.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ick2/exceptions.py b/ick2/exceptions.py index 7105c3c..8a5447d 100644 --- a/ick2/exceptions.py +++ b/ick2/exceptions.py @@ -1,4 +1,4 @@ -# Copyright (C) 2017 Lars Wirzenius +# Copyright (C) 2017-2018 Lars Wirzenius # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or @@ -30,6 +30,12 @@ class BadUpdate(IckException): super().__init__('Work update is BAD: {}'.format(how)) +class ClientIdMissing(IckException): + + def __init__(self): + super().__init__('Access token is missing "aud"') + + class MethodNotAllowed(IckException): pass |