extract zip_error from zip_file
libzip (-lzip)
#include <zip.h>
zip_error_t *
zip_file_get_error(zip_file_t *zf);
zip_file_get_error() function returns the zip_error associated with the zip_file zf.
libzip(3)
Dieter Baron <dillo@nih.at> and Thomas Klausner <tk@giga.or.at>