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