---
title: "NWConnection.State.waiting(_:)"
framework: network
role: symbol
role_heading: Case
path: "network/nwconnection/state-swift.enum/waiting(_:)"
---

# NWConnection.State.waiting(_:)

The connection is waiting for a network path change.

## Declaration

```swift
case waiting(NWError)
```

## Discussion

Discussion Connections that are waiting will indicate the reason that the connection couldn’t be established in the associated error. These errors are not fatal.

## See Also

### States

- [NWConnection.State.setup](network/nwconnection/state-swift.enum/setup.md)
- [NWConnection.State.preparing](network/nwconnection/state-swift.enum/preparing.md)
- [NWConnection.State.ready](network/nwconnection/state-swift.enum/ready.md)
- [NWConnection.State.failed(_:)](network/nwconnection/state-swift.enum/failed(_:).md)
- [NWConnection.State.cancelled](network/nwconnection/state-swift.enum/cancelled.md)
