CancellationDelegate
public protocol CancellationDelegate : AnyObject
Notified of the cancellation results
-
Called when there was an error cancelling the
Order
- error: The
Error
representing the reason for failure. ACancellationError.expiredQuote
represents a quote that is expired and can no longer be cancelled. It is advised to prompt the user to refetch a new quote.
Declaration
Swift
func cancellationDidFailWith(_ error: Error)
- error: The