Replaces OperationError.cancelled with CancellationError

Keeps `OperationError.cancelled` around for source-compatibility, but now returns CancellationError() instead of OperationError.
This commit is contained in:
Riley Testut
2023-05-11 17:15:33 -05:00
parent ad41024bcb
commit 10ac6507ec
2 changed files with 4 additions and 4 deletions

View File

@@ -1872,7 +1872,7 @@ private extension AppManager
{
switch error
{
case ~OperationError.Code.cancelled: return // Don't log OperationError.cancelled
case is CancellationError: return // Don't log CancellationErrors
default: break
}