From f491fdb56e2de9200e14b855b5576009ca99dfa5 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 20 Nov 2022 12:32:49 -0700 Subject: Actor delete, sentry async, faster stator --- core/exceptions.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 core/exceptions.py (limited to 'core') 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 + """ -- cgit v1.2.3