Throw a DipValidationError (Invalid <name>: <reason>) when problem finds value invalid; otherwise return value unchanged.
DipValidationError
Invalid <name>: <reason>
problem
value
Throw a
DipValidationError(Invalid <name>: <reason>) whenproblemfindsvalueinvalid; otherwise returnvalueunchanged.