HomeSoftware Heritage

api: Improve error handling and response management

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

api: Improve error handling and response management

Use a custom DRF exception handler to generate an error response when an
exception is raised in a view.

Move api response creation from the api_doc decorator to the api_route one.

Remove the handle_response parameter from the api_doc decorator.

Related to T2657

Details

Commit No Longer Exists

This commit no longer exists in the repository.