PromiseCallbackError
@objc(TWLPromiseCallbackError)
public enum PromiseCallbackError : Int, Error
An error potentially returned from Promise.Resolver.handleCallback(isCancelError:)
.
-
The callback did not conform to the expected API.
Declaration
Swift
@objc(TWLPromiseCallbackErrorAPIMismatch) case apiMismatch