mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-25 08:41:00 +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
|
|
"""
|