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