<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAI",
  "identifier" : "/documentation/CoreAI/AssetError/Kind-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core AI",
      "CoreAI"
    ],
    "preciseIdentifier" : "s:11CoreAIAsset10AssetErrorV4KindO"
  },
  "title" : "AssetError.Kind"
}
-->

# AssetError.Kind

The reasons an asset operation can fail.

```
enum Kind
```

## Topics

### Types of errors

[`case corruptedMetadata`](/documentation/CoreAI/AssetError/Kind-swift.enum/corruptedMetadata)

An error that indicates the asset metadata is corrupted.

[`case duplicateName`](/documentation/CoreAI/AssetError/Kind-swift.enum/duplicateName)

An error that indicates a component with that name already exists in the asset.

[`case invalidFeatureType(String)`](/documentation/CoreAI/AssetError/Kind-swift.enum/invalidFeatureType(_:))

An error that indicates the feature type is invalid.

[`case invalidName`](/documentation/CoreAI/AssetError/Kind-swift.enum/invalidName)

An error that indicates the component name is invalid.

[`case unsupportedVersion(String)`](/documentation/CoreAI/AssetError/Kind-swift.enum/unsupportedVersion(_:))

An error that indicates the asset version is unsupported.

## Relationships

### Conforms To

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

[`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)