Return value when problem finds nothing wrong with it; otherwise throw a HaushaltValidationError Invalid <name>: <reason>. Inside an async method the throw becomes a rejected promise, before any request is sent.
value
problem
Invalid <name>: <reason>
Return
valuewhenproblemfinds nothing wrong with it; otherwise throw a HaushaltValidationErrorInvalid <name>: <reason>. Inside an async method the throw becomes a rejected promise, before any request is sent.