google / promises

Promises is a modern framework that provides a synchronization construct for Swift and Objective-C.
Apache License 2.0
3.79k stars 291 forks source link

ios 16 strings convertible to NSError #190

Open ganesh7845 opened 2 years ago

ganesh7845 commented 2 years ago

In iOS 16 string are convertible to NSError and because of this promises are getting rejected. Kindly check the line number 28 in below URL where issue is occurring .

https://github.com/google/promises/blob/46c1e6b5ac09d8f82c991061c659f67e573d425d/Sources/Promises/Promise%2BAsync.swift

ykjchen commented 2 years ago

Is this a duplicate of https://github.com/google/promises/issues/185?