<!--
{
  "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/PrivateCloudComputeLanguageModel/Error/NetworkFailure",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels32PrivateCloudComputeLanguageModelC5ErrorO14NetworkFailureV"
  },
  "title" : "PrivateCloudComputeLanguageModel.Error.NetworkFailure"
}
-->

# PrivateCloudComputeLanguageModel.Error.NetworkFailure

Information about a network problem that prevented a request from completing.

```
struct NetworkFailure
```

## Topics

### Creating a network failure error

[`init(debugDescription: String)`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/Error/NetworkFailure/init(debugDescription:))

Creates a network failure with the debug description you specify.

### Getting the error description

[`var debugDescription: String`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/Error/NetworkFailure/debugDescription)

A debug description of the network failure.

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