ArArchiveKit Documentation

Enumeration ArArchive​Error

public enum ArArchiveError: Error  

Errors that occur while reading or writing an ar archive.

%3 ArArchiveError ArArchiveError Error Error ArArchiveError->Error

Conforms To

Error

Enumeration Cases

empty​Archive

case emptyArchive

The archive was empty.

no​Entries

case noEntries

There were no entries in the archive.

invalid​Archive

case invalidArchive

The archive was invalid. It may not contain a global header, the file headers may be ill formatted, or something else may be wrong.

invalid​Magic​Bytes

case invalidMagicBytes

The archive did not contain the correct sequence of bytes that identifies it as an ar archive.

missing​Magic​Bytes

case missingMagicBytes

The archive did not contain the sequence of bytes that identifies it as an ar archive.

invalid​Header

case invalidHeader

The header may contain invalid characters and/or bytes, or may be missing certain fields.