refactor: remove minimuxerToOperationError in favor of extending MinimuxerError to be a LocalizedError and remove unused cases from OperationError

This commit is contained in:
naturecodevoid
2023-04-11 21:04:07 -07:00
parent 40bcef1dcb
commit b3d827f56a
8 changed files with 68 additions and 81 deletions

View File

@@ -50,7 +50,7 @@ final class SendAppOperation: ResultOperation<()>
let bytes = Data(data).toRustByteSlice()
try yeet_app_afc(app.bundleIdentifier, bytes.forRust())
} catch {
return self.finish(.failure(minimuxerToOperationError(error)))
return self.finish(.failure(error))
}
self.progress.completedUnitCount += 1