OrderProcessDelegate
public protocol OrderProcessDelegate : AnyObject
Notified of Order processing results
-
Called when there was an error processing the order
- error: The
Errorrepresenting the reason for failure. No specific errors to look for here. Best course of action is to just display a generic error message.
Declaration
Swift
func order(_ order: Order, didFailWithError error: Error) - error: The
OrderProcessDelegate Protocol Reference