Documentation / MatterSupport / MatterAddDeviceRequest / perform()

func perform() async throws

What are the abnormal errors thrown by the above ? Can you provide a clear list?

error:Error Domain=com.apple.MatterSupport Code=1 "(null)"

Where can I find the error information in the document?

MatterSupport / MatterAddDeviceRequest / perform()

What does this error mean: Error Domain=com.apple.MatterSupport Code=1

I have the same problem. I need to know the error code when the user explicitly cancels the pairing, but in many abnormal cases, this error returns code=1.

Documentation / MatterSupport / MatterAddDeviceRequest / perform()
 
 
Q