---
title: operationNotSupportedByDevice
framework: system
role: symbol
role_heading: Type Property
path: system/errno/operationnotsupportedbydevice
---

# operationNotSupportedByDevice

Operation not supported by device.

## Declaration

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

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion You attempted to apply an inappropriate function to a device; for example, trying to read a write-only device such as a printer. The corresponding C error is ENODEV.

## See Also

### Device Errors

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