---
title: noSuchAddressOrDevice
framework: system
role: symbol
role_heading: Type Property
path: system/errno/nosuchaddressordevice
---

# noSuchAddressOrDevice

No such device or address.

## Declaration

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

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion Input or output on a special file referred to a device that didn’t exist, or made a request beyond the limits of the device. This error may also occur when, for example, a tape drive isn’t online or when there isn’t a disk pack loaded on a drive. The corresponding C error is ENXIO.

## See Also

### Device Errors

- [deviceError](system/errno/deviceerror.md)
- [devicePowerIsOff](system/errno/devicepowerisoff.md)
- [inappropriateIOCTLForDevice](system/errno/inappropriateioctlfordevice.md)
- [ioError](system/errno/ioerror.md)
- [notBlockDevice](system/errno/notblockdevice.md)
- [operationNotSupportedByDevice](system/errno/operationnotsupportedbydevice.md)
