BTCardClientErrorType
Objective-C
enum BTCardClientErrorType : NSInteger {}
Swift
enum BTCardClientErrorType : Int, @unchecked Sendable
Error codes associated with cards.
-
Unknown error
Declaration
Objective-C
BTCardClientErrorTypeUnknown = 0
Swift
case unknown = 0
-
Braintree SDK is integrated incorrectly
Declaration
Objective-C
BTCardClientErrorTypeIntegration
Swift
case integration = 1
-
Payment option (e.g. UnionPay) is not enabled for this merchant account
Declaration
Objective-C
BTCardClientErrorTypePaymentOptionNotEnabled
Swift
case paymentOptionNotEnabled = 2
-
Customer provided invalid input
Declaration
Objective-C
BTCardClientErrorTypeCustomerInputInvalid
Swift
case customerInputInvalid = 3
-
Card already exists as a saved payment method
Declaration
Objective-C
BTCardClientErrorTypeCardAlreadyExists
Swift
case cardAlreadyExists = 4