Kind
public enum Kind: Equatable
Undocumented
-
The stream structure was inconsistent.
- underlying zlib error:
Z_STREAM_ERROR
(-2)
Declaration
Swift
case stream
- underlying zlib error:
-
The input data was corrupted (input stream not conforming to the zlib format or incorrect check value).
- underlying zlib error:
Z_DATA_ERROR
(-3)
Declaration
Swift
case data
- underlying zlib error:
-
There was not enough memory.
- underlying zlib error:
Z_MEM_ERROR
(-4)
Declaration
Swift
case memory
- underlying zlib error:
-
No progress is possible or there was not enough room in the output buffer.
- underlying zlib error:
Z_BUF_ERROR
(-5)
Declaration
Swift
case buffer
- underlying zlib error:
-
The zlib library version is incompatible with the version assumed by the caller.
- underlying zlib error:
Z_VERSION_ERROR
(-6)
Declaration
Swift
case version
- underlying zlib error:
-
An unknown error occurred.
Declaration
Swift
case unknown(code: Int)
Parameters
code
return error by zlib