---
title: "readAttributeTxErrCcaCount(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterthreadnetworkdiagnostics/readattributetxerrccacount(completion:)"
---

# readAttributeTxErrCcaCount(completion:)

## Declaration

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

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