CancellationDelegate
public protocol CancellationDelegate : AnyObject
Notified of the cancellation results
-
Called when there was an error cancelling the
Order- error: The
Errorrepresenting the reason for failure. ACancellationError.expiredQuoterepresents 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
CancellationDelegate Protocol Reference