swh.deposit.exception module

swh.deposit.exception.custom_exception_handler(exc: rest_framework.exceptions.APIException, context: Dict) → Optional[django.http.response.HttpResponse][source]

Custom deposit exception handler to ensure consistent xml output