Throw an AusbildungValidationError (Invalid <name>: <reason>) when problem
finds something wrong with value; otherwise return value unchanged.
Client methods that return a promise call this inside an async body, so a
rejected input surfaces as a rejected promise rather than a synchronous throw,
and no request is sent.
Throw an AusbildungValidationError (
Invalid <name>: <reason>) whenproblemfinds something wrong withvalue; otherwise returnvalueunchanged.Client methods that return a promise call this inside an
asyncbody, so a rejected input surfaces as a rejected promise rather than a synchronous throw, and no request is sent.