diff options
author | Andrew Godwin | 2022-11-20 12:32:49 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-20 12:32:49 -0700 |
commit | f491fdb56e2de9200e14b855b5576009ca99dfa5 (patch) | |
tree | 5389fa8e3fef60ba1c7284087eba0d5616d222b3 /core | |
parent | 77643a4fe144cb908a372a2ceb99f36634457ca5 (diff) | |
download | takahe-f491fdb56e2de9200e14b855b5576009ca99dfa5.tar.gz takahe-f491fdb56e2de9200e14b855b5576009ca99dfa5.tar.bz2 takahe-f491fdb56e2de9200e14b855b5576009ca99dfa5.zip |
Actor delete, sentry async, faster stator
Diffstat (limited to 'core')
-rw-r--r-- | core/exceptions.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/exceptions.py b/core/exceptions.py new file mode 100644 index 0000000..4475538 --- /dev/null +++ b/core/exceptions.py @@ -0,0 +1,10 @@ +class ActivityPubError(BaseException): + """ + A problem with an ActivityPub message + """ + + +class ActorMismatchError(ActivityPubError): + """ + The actor is not authorised to do the action we saw + """ |