Skip to content
Andrew Lambert edited this page Apr 17, 2021 · 4 revisions

zlib.zlibException

Class Declaration

 Protected Class zlibException
 Inherits RuntimeException

Remarks

This exception type will be raised if a required zlib function call returns an error code. The ErrorNumber and Message properties will contain the error code and a message for that code, respectively.

Error numbers

Archive errors

Name Number Comment
ERR_NOT_ZIPPED -200 The archive is not zipped.
ERR_INVALID_ENTRY -201 The archive entry is corrupt.
ERR_END_ARCHIVE -202 The archive contains no additional entries.
ERR_UNSUPPORTED_COMPRESSION -203 The archive entry uses a non-standard compression algorithm.
ERR_CHECKSUM_MISMATCH -204 The archive entry failed verification.

zlib errors

Name Number Comment
Z_NEED_DICT 2 The stream is compressed with a custom dictionary.
Z_STREAM_END 1 The stream has ended.
Z_OK 0 No error.
Z_ERRNO -1 A system error occurred during the operation. Consult the system last error value for details.
Z_STREAM_ERROR -2 The stream state is inconsistent or invalid.
Z_DATA_ERROR -3 The input buffer contains invalid or incomplete deflate data.
Z_MEM_ERROR -4 There is insufficient available memory to perform the requested operation.
Z_BUF_ERROR -5 The requested operation requires a larger output buffer.
Z_VERSION_ERROR -6 The zlib library is a different version than what was expected.

Methods

Entry-level points of interest denoted by "☜"



Clone this wiki locally