---
title: hostIsDown
framework: system
role: symbol
role_heading: Type Property
path: system/errno/hostisdown
---

# hostIsDown

The host is down.

## Declaration

```swift
static var hostIsDown: Errno { get }
```

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion A socket operation failed because the destination host was down. The corresponding C error is EHOSTDOWN.

## See Also

### Network Errors

- [connectionAbort](system/errno/connectionabort.md)
- [connectionRefused](system/errno/connectionrefused.md)
- [connectionReset](system/errno/connectionreset.md)
- [messageTooLong](system/errno/messagetoolong.md)
- [networkDown](system/errno/networkdown.md)
- [networkReset](system/errno/networkreset.md)
- [networkUnreachable](system/errno/networkunreachable.md)
- [noBufferSpace](system/errno/nobufferspace.md)
- [noRouteToHost](system/errno/noroutetohost.md)
- [notSupported](system/errno/notsupported.md)
- [timedOut](system/errno/timedout.md)
