CatalogItemDetailsFetchDelegate
public protocol CatalogItemDetailsFetchDelegate : AnyObject
Notified of catalog item fetch results
-
Called when the
CatalogItemDetails
was fetched successfully- result: Fetched
CatalogItemDetails
Declaration
Swift
func catalogItemDetailsFetchDidSucceedWith(_ result: CatalogItemDetails)
- result: Fetched
-
Called when there was an error fetching the catalog item details
- 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 catalogItemDetailsFetchDidFailWith(_ error: Error)
- error: The