<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppleArchive",
  "identifier" : "/documentation/AppleArchive/ArchiveError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Apple Archive"
    ],
    "preciseIdentifier" : "s:12AppleArchive0B5ErrorO"
  },
  "title" : "ArchiveError"
}
-->

# ArchiveError

Error codes for AppleArchive.

```
enum ArchiveError
```

## Topics

### AppleArchive Errors

[`case invalidValue`](/documentation/AppleArchive/ArchiveError/invalidValue)

An invalid value passed to an operation.

[`case ioError`](/documentation/AppleArchive/ArchiveError/ioError)

An input-output error.

### Hash Values

### Equatable Requirements

### Getting a Localized Error Description

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Error`](/documentation/Swift/Error)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)