helpers
This trait allow you to use the ?| operator in your Play controller and get a Future[Result] instead of a Future[Fail \/ T]
Usage :
class MyController extends Controller with FormatErrorResult with SorusPlay
You may override default serialization of Fail into Error by extending FormatErrorResult.
Inspiration :
This trait allow you to use the ?| operator in your Play controller and get a Future[Result] instead of a Future[Fail \/ T]
Usage :
class MyController extends Controller with FormatErrorResult with SorusPlay
You may override default serialization of Fail into Error by extending FormatErrorResult.