Skip to content
Andrew Lambert edited this page Dec 8, 2022 · 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

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