CancellationQuoteFetchDelegate
public protocol CancellationQuoteFetchDelegate : AnyObject
Notified of CancelationQuote fetch results
-
Called when the
CancellationQuotewas fetched successfully- quote: Fetched
CancellationQuote
Declaration
Swift
func cancellationQuoteFetchDidSucceedWith(_ quote: CancellationQuote) - quote: Fetched
-
Called when there was an error fetching the quote
- 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 cancellationQuoteFetchDidFailWith(_ error: Error) - error: The
CancellationQuoteFetchDelegate Protocol Reference