- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4
zlib.zlibException
        Andrew Lambert edited this page Dec 8, 2022 
        ·
        4 revisions
      
    zlib.zlibException
 Protected Class zlibException
 Inherits RuntimeExceptionThis 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.
| 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. | 
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.