minizip-ng/doc/mz_error.md
2021-01-23 16:19:05 -08:00

1.1 KiB

MZ_ERROR

Error code enumeration. These errors codes are compatible with and extend zlib error codes.

Name Code Description
MZ_OK 0 OK error (zlib)
MZ_STREAM_ERROR -1 Stream error (zlib)
MZ_DATA_ERROR -3 Data error (zlib)
MZ_MEM_ERROR -4 Memory allocation error (zlib)
MZ_BUF_ERROR -5 Buffer error (zlib)
MZ_VERSION_ERROR -6 Version error (zlib)
MZ_END_OF_LIST -100 End of list error
MZ_END_OF_STREAM -101 End of stream error
MZ_PARAM_ERROR -102 Invalid parameter error
MZ_FORMAT_ERROR -103 File format error
MZ_INTERNAL_ERROR -104 Library internal error
MZ_CRC_ERROR -105 CRC error
MZ_CRYPT_ERROR -106 Cryptography error
MZ_EXIST_ERROR -107 Does not exist error
MZ_PASSWORD_ERROR -108 Invalid password error
MZ_SUPPORT_ERROR -109 Library support error
MZ_HASH_ERROR -110 Hash error
MZ_OPEN_ERROR -111 Stream open error
MZ_CLOSE_ERROR -112 Stream close error
MZ_SEEK_ERROR -113 Stream seek error
MZ_TELL_ERROR -114 Stream tell error
MZ_READ_ERROR -115 Stream read error
MZ_WRITE_ERROR -116 Stream write error
MZ_SIGN_ERROR -117 Signing error
MZ_SYMLINK_ERROR -118 Symbolic link error