funkwhale/api/funkwhale_api/federation/exceptions.py

15 lines
256 B
Python

from rest_framework import authentication, exceptions
from rest_framework import exceptions
class MalformedPayload(ValueError):
pass
class MissingSignature(KeyError):
pass
class BlockedActorOrDomain(exceptions.AuthenticationFailed):
pass