https://bugs.winehq.org/show_bug.cgi?id=45023
--- Comment #3 from François Gouget fgouget@codeweavers.com --- And for issue number 16!
16. Item::Save() and Collection::Save() have inconsistent return values
The returned values depend on whether Save() is called on an Item or a Collection:
($ErrProperty, $ErrMessage) = $Job->Save(); ($ErrKey, $ErrProperty, $ErrMessage) = $Jobs->Save();
Notice also that the corret way to detect errors is through an if (defined $ErrMessage). However if you use the 3 values form on an Item, $ErrMessage will always be undefined, causing errors to not be detected.
Finally the same issue exists for the Validate() methods but those are more rarely used.