ArchiveError
public enum ArchiveError : Error
An error that occurs during reading, creating or updating a ZIP file.
-
Thrown when an archive file is either damaged or inaccessible.
Declaration
Swift
case unreadableArchive -
Thrown when an archive is either opened with AccessMode.read or the destination file is unwritable.
Declaration
Swift
case unwritableArchive -
Thrown when the path of an
Entrycannot be stored in an archive.Declaration
Swift
case invalidEntryPath -
Thrown when an
Entrycan’t be stored in the archive with the proposed compression method.Declaration
Swift
case invalidCompressionMethod -
Thrown when the start of the central directory exceeds
UINT32_MAXDeclaration
Swift
case invalidStartOfCentralDirectoryOffset -
Thrown when an archive does not contain the required End of Central Directory Record.
Declaration
Swift
case missingEndOfCentralDirectoryRecord -
Thrown when an extract, add or remove operation was canceled.
Declaration
Swift
case cancelledOperation
View on GitHub
ArchiveError Enumeration Reference