use public zip_error_clear instead of private _zip_error_clear