Creates a RequestReader that raises a ParamValidationFailed exception with message rule when the given predicated is evaluated as false.
Creates a RequestReader that raises a ParamValidationFailed exception with message rule when the given predicated is evaluated as false.
the param name to validate
the exception message
the predicate to test
nothing or exception
A param validation rule.