---
title: "readAttributeClusterErrorBoolean(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterunittesting/readattributeclustererrorboolean(completion:)"
---

# readAttributeClusterErrorBoolean(completion:)

## Declaration

```swift
func readAttributeClusterErrorBoolean(completion: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
func readAttributeClusterErrorBoolean() async throws -> NSNumber
```
