Maps a validation to a LiftResponse if the validation is successful.
Maps a validation to a LiftResponse if the validation is successful. If the validation is not successful, this method provides a default response mechanism which returns a JSON HTTP 400 response, where the body is an object containing the error code and a list of messages corresponding to each individual error in the applicative functor.
The partial function that maps the successful result to a LiftResponse.
A future wrapping a Lift Response.
Maps a validation to a LiftResponse if the validation is successful.
Maps a validation to a LiftResponse if the validation is successful. If the validation is not successful, this method provides a default response mechanism which returns a JSON HTTP 400 response, where the body is an object containing the error code and a list of messages corresponding to each individual error in the applicative functor.
The partial function that maps the successful result to a LiftResponse.
A future wrapping a Lift Response.