ZipError
public enum ZipError : Error
Represents an error which happened while processing a ZIP container. It may indicate that either container is damaged or it might not be ZIP container at all.
-
End of Central Directoty record wasn’t found.
Declaration
Swift
case notFoundCentralDirectoryEnd -
Wrong signature of one of container’s structures.
Declaration
Swift
case wrongSignature -
Wrong either compressed or uncompressed size of a container’s entry.
Declaration
Swift
case wrongSize -
Version needed to process container is unsupported.
Declaration
Swift
case wrongVersion -
Container is either spanned or consists of several volumes. These features aren’t supported.
Declaration
Swift
case multiVolumesNotSupported -
Entry or record is encrypted. This feature isn’t supported.
Declaration
Swift
case encryptionNotSupported -
Entry contains patched data. This feature isn’t supported.
Declaration
Swift
case patchingNotSupported -
Entry is compressed using unsupported compression method.
Declaration
Swift
case compressionNotSupported -
Local header of an entry is inconsistent with Central Directory.
Declaration
Swift
case wrongLocalHeader -
Either entry’s comment or file name cannot be processed using UTF-8 encoding.
Declaration
Swift
case wrongTextField
View on GitHub
ZipError Enumeration Reference