mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-23 22:10:28 +00:00
16 lines
337 B
Python
16 lines
337 B
Python
class ActivityPubError(BaseException):
|
|
"""
|
|
A problem with an ActivityPub message
|
|
"""
|
|
|
|
|
|
class ActivityPubFormatError(ActivityPubError):
|
|
"""
|
|
A problem with an ActivityPub message's format/keys
|
|
"""
|
|
|
|
|
|
class ActorMismatchError(ActivityPubError):
|
|
"""
|
|
The actor is not authorised to do the action we saw
|
|
"""
|