torusresearch / customauth-swift-sdk

Swift SDK that allows applications to directly interact with the Torus Network, similar to how Torus Wallet does.
BSD 3-Clause "New" or "Revised" License
10 stars 17 forks source link

Handle withUnsafeThrowingContinuation errors #71

Closed AyushBherwani1998 closed 7 months ago

AyushBherwani1998 commented 7 months ago

Description

Since withUnsafeThrowingContinuation was not inside try catch, we were not able to process error upon user cancellation.

Screenshot 2024-04-04 at 4 45 02 PM