Kind

public enum Kind: Equatable

Undocumented

  • The stream structure was inconsistent.

    • underlying zlib error: Z_STREAM_ERROR (-2)

    Declaration

    Swift

    case stream
  • 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
  • There was not enough memory.

    • underlying zlib error: Z_MEM_ERROR (-4)

    Declaration

    Swift

    case memory
  • 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
  • The zlib library version is incompatible with the version assumed by the caller.

    • underlying zlib error: Z_VERSION_ERROR (-6)

    Declaration

    Swift

    case version
  • An unknown error occurred.

    Declaration

    Swift

    case unknown(code: Int)

    Parameters

    code

    return error by zlib