---
title: "readAttributeLastConnectErrorValue(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusternetworkcommissioning/readattributelastconnecterrorvalue(completion:)"
---

# readAttributeLastConnectErrorValue(completion:)

## Declaration

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

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