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

# HMError.Code.notFound

An error indicating the object was not found in the container.

## Declaration

```swift
case notFound
```

## 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.notificationAlreadyEnabled](homekit/hmerror/code/notificationalreadyenabled.md)
- [HMError.Code.notificationNotSupported](homekit/hmerror/code/notificationnotsupported.md)
- [HMError.Code.operationNotSupported](homekit/hmerror/code/operationnotsupported.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)
