Kind

enum Kind
extension GzipError.Kind : Equatable
  • 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)
  • Returns a Boolean value indicating whether two values are not equal.

    Inequality is the inverse of equality. For any values a and b, a != b implies that a == b is false.

    This is the default implementation of the not-equal-to operator (!=) for any type that conforms to Equatable.

    Declaration

    Swift

    static func != (lhs: Self, rhs: Self) -> Bool

    Parameters

    lhs

    A value to compare.

    rhs

    Another value to compare.