summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-20 12:32:49 -0700
committerAndrew Godwin2022-11-20 12:32:49 -0700
commitf491fdb56e2de9200e14b855b5576009ca99dfa5 (patch)
tree5389fa8e3fef60ba1c7284087eba0d5616d222b3 /core
parent77643a4fe144cb908a372a2ceb99f36634457ca5 (diff)
downloadtakahe-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.py10
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
+ """