<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/SystemLanguageModel/Error",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels19SystemLanguageModelC5ErrorO"
  },
  "title" : "SystemLanguageModel.Error"
}
-->

# SystemLanguageModel.Error

An error specific to the on-device system language model.

```
enum Error
```

## Topics

### Error cases

[`case assetsUnavailable(SystemLanguageModel.Error.AssetsUnavailable)`](/documentation/FoundationModels/SystemLanguageModel/Error/assetsUnavailable(_:))

The assets required for the session are unavailable.

[`struct AssetsUnavailable`](/documentation/FoundationModels/SystemLanguageModel/Error/AssetsUnavailable)

Information about unavailable model assets.

## Relationships

### Conforms To

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

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

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

[`LocalizedError`](/documentation/Foundation/LocalizedError)

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

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

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

---

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)