---
title: "readAttributeTxErrAbortCount(withClusterStateCache:endpoint:queue:completion:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrbaseclusterthreadnetworkdiagnostics/readattributetxerrabortcount(withclusterstatecache:endpoint:queue:completion:)"
---

# readAttributeTxErrAbortCount(withClusterStateCache:endpoint:queue:completion:)

## Declaration

```swift
class func readAttributeTxErrAbortCount(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t, completion: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
class func readAttributeTxErrAbortCount(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
```
