---
title: Stream.Status.error
framework: foundation
role: symbol
role_heading: Case
path: foundation/stream/status/error
---

# Stream.Status.error

The remote end of the connection can’t be contacted, or the connection has been severed for some other reason.

## Declaration

```swift
case error
```

## See Also

### Enumeration Cases

- [Stream.Status.atEnd](foundation/stream/status/atend.md)
- [Stream.Status.closed](foundation/stream/status/closed.md)
- [Stream.Status.notOpen](foundation/stream/status/notopen.md)
- [Stream.Status.open](foundation/stream/status/open.md)
- [Stream.Status.opening](foundation/stream/status/opening.md)
- [Stream.Status.reading](foundation/stream/status/reading.md)
- [Stream.Status.writing](foundation/stream/status/writing.md)
