---
title: HMError.Code.operationNotSupported
framework: homekit
role: symbol
role_heading: Case
path: homekit/hmerror/code/operationnotsupported
---

# HMError.Code.operationNotSupported

An attempt to use an unsupported operation.

## Declaration

```swift
case operationNotSupported
```

## See Also

### General errors

- [HMError.Code.alreadyExists](homekit/hmerror/code/alreadyexists.md)
- [HMError.Code.genericError](homekit/hmerror/code/genericerror.md)
- [incompatibleHomeHub](homekit/hmerror/code/incompatiblehomehub.md)
- [HMError.Code.invalidClass](homekit/hmerror/code/invalidclass.md)
- [HMError.Code.notFound](homekit/hmerror/code/notfound.md)
- [HMError.Code.notificationAlreadyEnabled](homekit/hmerror/code/notificationalreadyenabled.md)
- [HMError.Code.notificationNotSupported](homekit/hmerror/code/notificationnotsupported.md)
- [HMError.Code.unexpectedError](homekit/hmerror/code/unexpectederror.md)
- [HMError.Code.missingEntitlement](homekit/hmerror/code/missingentitlement.md)
- [HMError.Code.referToUserManual](homekit/hmerror/code/refertousermanual.md)
