CompressionError

public enum CompressionError : Error

An enumeration representing errors that can occur during compression or decompression operations.

  • compressionFailed: Indicates that the compression process failed.
  • decompressionFailed: Indicates that the decompression process failed.
  • unsupportedMethod: Indicates that the specified compression method is not supported.
  • zlibError(code: Int): Represents an error returned by the zlib library, with an associated error code.