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

# LanguageModelError.Timeout

Information about a timeout.

```
struct Timeout
```

## Topics

### Creating an error instance

[`init(debugDescription: String, metadata: [String : any Sendable])`](/documentation/FoundationModels/LanguageModelError/Timeout/init(debugDescription:metadata:))

Creates information describing a request timeout.

### Inspecting timeout errors

[`var metadata: [String : any Sendable]`](/documentation/FoundationModels/LanguageModelError/Timeout/metadata)

Additional information about the failure, keyed by name.

[`var debugDescription: String`](/documentation/FoundationModels/LanguageModelError/Timeout/debugDescription)

A debug description to help developers diagnose issues during development.

## 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)