PaymentSheetError

public enum PaymentSheetError : Error

Errors specific to PaymentSheet itself

Most errors do not originate from PaymentSheet itself; instead, they come from the Stripe API or other SDK components like STPPaymentHandler, PassKit (Apple Pay), etc.