---
title: readWriteFailure
framework: homekit
role: symbol
role_heading: Type Property
path: homekit/hmerror/readwritefailure
---

# readWriteFailure

An error indicating a failed read/write operation.

## Declaration

```swift
static var readWriteFailure: HMError.Code { get }
```

## See Also

### Detecting read and write errors

- [readWritePartialSuccess](homekit/hmerror/readwritepartialsuccess.md)
