ErrorInfo

@objc(PPCErrorInfo)
@objcMembers
final class ErrorInfo
extension ErrorInfo : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol

Encapsulates metadata after CheckoutConfig.onError is called. This meta information can be utilized to debug our checkout sessions.

  • Container for identifiers associated with PayPal domain specific events

    Declaration

    Swift

    let correlationIDs: CorrelationIDs
  • The actual error.

    Declaration

    Swift

    let error: Error
  • SDK version.

    Declaration

    Swift

    let nativeSdkVersion: String
  • Pay token/EC-Token/OrderID

    Declaration

    Swift

    let payToken: String
  • The error reason.

    Declaration

    Swift

    var reason: String { get }