---
title: AssetError
framework: Core AI
role: symbol
role_heading: Structure
platforms: [iOS 27.0+, iPadOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: coreai/asseterror
---

# AssetError

An error that occurs during model asset operations.

## Declaration

```swift
struct AssetError
```

## Topics

### Inspecting error information

- [kind](coreai/asseterror/kind-swift.property.md)
- [debugMessage](coreai/asseterror/debugmessage.md)
- [errorDescription](coreai/asseterror/errordescription.md)

### Creating errors

- [init(kind:debugMessage:)](coreai/asseterror/init(kind:debugmessage:).md)

### Defining error types

- [AssetError.Kind](coreai/asseterror/kind-swift.enum.md)

## Relationships

### Conforms To

- [Error](swift/error.md)
- [LocalizedError](foundation/localizederror.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
