Lagom provides various exceptions for the below HTTP status codes -
400, 403, 404, 405, 406, 413, 415, 500, 503
Apart from the above codes, we had used 409 (Conflict) and 422 (Unprocessable) in our (previous) Play application. How should we cleanly use Lagom’s exception handling and not trip the circuit breaker?
Right now, we are only using BadRequest and NotFound and have white-listed these two in the web-gateway application.conf project.