Implicit class that adds a validation method to
Future, which takes one or more functions that validate
the Future's value.
See the main documentation for trait FutureSugar for more detail and examples.
the Future to which to add a validating method.
Validates a Future using the passed validation functions.
Validates a Future using the passed validation functions.
See the main documentation for trait FutureSugar for more detail and examples.
the first validation function to apply
the subsequent validation functions to apply, if any
a "validated" Future, either a Future with the same value, or
if validation failed, a failed Future containing a ValidationFailedException.