Currently the Namespace parser validates the request arguments and throws error like
{
"errors": {
"file": "Missing required parameter in an uploaded file"
},
"message": "Input payload validation failed"
}
From the flask-app i want to intercept or handle these exceptions and send a customised response for consistency like { "errors": { "file": "Missing required parameter in an uploaded file" }, "message": "Input payload validation failed", "id" : "some customer id " }
Is it possible to handle this exception from app level instead of doing it for every api