Instance Property

errorCode

The error code for this instance.

Declaration

var errorCode: Int { get }

Discussion

See PKPaymentError.Code for the list of error codes you can use for errorCode, which belong to the payment error domain (PKPaymentErrorDomain).

See Also

Describing the Error

var errorUserInfo: [String : Any]

Additional details about an error.

var localizedDescription: String

A user-facing, localized string that describes the error.