Returns the error code of the previous operation.
Returns one of the YPERR_XXX error constants.
YPERR_XXX