Contents

error

The error value that indicates the reason a promotional image failed to load.

Declaration

var error: (any Error)? { get }

Discussion

The error value is nil while the icon is loading, if the icon successfully loads, or if you haven’t set up a promotional image for the in-app purchase in App Store Connect. Use this value as a convenience to access the error value in code that assumes you’ve set up a promotional image.