---
title: "reportConnectionInterrupted(_:)"
framework: Foveated Streaming
role: symbol
role_heading: Instance Method
platforms: [visionOS 27.0+]
path: "foveatedstreaming/foveatedstreamingprovidercontext/reportconnectioninterrupted(_:)"
---

# reportConnectionInterrupted(_:)

Reports that a previously-established connection was unexpectedly lost.

## Declaration

```swift
@MainActor final func reportConnectionInterrupted(_ error: any Error)
```

## Discussion

Discussion This may only be called while the provider is in the FoveatedStreamingProviderStatus.connected state. Calling this transitions the session to FoveatedStreamingProviderStatus/error(_:). After calling this method, the provider should consider the session terminated. disconnect() will not be called.
