Enum stripe::ErrorCode [−][src]
pub enum ErrorCode {
AccountAlreadyExists,
AccountCountryInvalidAddress,
AccountInvalid,
AccountNumberInvalid,
AlipayUpgradeRequired,
AmountTooLarge,
AmountTooSmall,
ApiKeyExpired,
BalanceInsufficient,
BankAccountExists,
BankAccountUnusable,
BankAccountUnverified,
BitcoinUpgradeRequired,
CardDeclined,
ChargeAlreadyCaptured,
ChargeAlreadyRefunded,
ChargeDisputed,
ChargeExpiredForCapture,
CountryUnsupported,
CouponExpired,
CustomerMaxSubscriptions,
EmailInvalid,
ExpiredCard,
IncorrectAddress,
IncorrectCvc,
IncorrectNumber,
IncorrectZip,
InstantPayoutsUnsupported,
InvalidCardType,
InvalidChargeAmount,
InvalidCvc,
InvalidExpiryMonth,
InvalidExpiryYear,
InvalidNumber,
InvalidSourceUsage,
InvoiceNoCustomerLineItems,
InvoiceNoSubscriptionLineItems,
InvoiceNotEditable,
InvoiceUpcomingNone,
LivemodeMismatch,
Missing,
OrderCreationFailed,
OrderRequiredSettings,
OrderStatusInvalid,
OrderUpstreamTimeout,
OutOfInventory,
ParameterInvalidEmpty,
ParameterInvalidInteger,
ParameterInvalidStringBlank,
ParameterInvalidStringEmpty,
ParameterMissing,
ParameterUnknown,
PaymentMethodUnactivated,
PayoutsNotAllowed,
PlatformApiKeyExpired,
PostalCodeInvalid,
ProcessingError,
ProductInactive,
RateLimit,
ResourceAlreadyExists,
ResourceMissing,
RoutingNumberInvalid,
SecretKeyRequired,
SepaUnsupportedAccount,
ShippingCalculationFailed,
SkuInactive,
StateUnsupported,
TaxIdInvalid,
TaxesCalculationFailed,
TestmodeChargesOnly,
TlsVersionUnsupported,
TokenAlreadyUsed,
TokenInUse,
TransfersNotAllowed,
UpstreamOrderCreationFailed,
UrlInvalid,
// some variants omitted
}The list of possible values for a RequestError's code.
Variants
AccountAlreadyExistsAccountCountryInvalidAddressAccountInvalidAccountNumberInvalidAlipayUpgradeRequiredAmountTooLargeAmountTooSmallApiKeyExpiredBalanceInsufficientBankAccountExistsBankAccountUnusableBankAccountUnverifiedBitcoinUpgradeRequiredCardDeclinedChargeAlreadyCapturedChargeAlreadyRefundedChargeDisputedChargeExpiredForCaptureCountryUnsupportedCouponExpiredCustomerMaxSubscriptionsEmailInvalidExpiredCardIncorrectAddressIncorrectCvcIncorrectNumberIncorrectZipInstantPayoutsUnsupportedInvalidCardTypeInvalidChargeAmountInvalidCvcInvalidExpiryMonthInvalidExpiryYearInvalidNumberInvalidSourceUsageInvoiceNoCustomerLineItemsInvoiceNoSubscriptionLineItemsInvoiceNotEditableInvoiceUpcomingNoneLivemodeMismatchMissingOrderCreationFailedOrderRequiredSettingsOrderStatusInvalidOrderUpstreamTimeoutOutOfInventoryParameterInvalidEmptyParameterInvalidIntegerParameterInvalidStringBlankParameterInvalidStringEmptyParameterMissingParameterUnknownPaymentMethodUnactivatedPayoutsNotAllowedPlatformApiKeyExpiredPostalCodeInvalidProcessingErrorProductInactiveRateLimitResourceAlreadyExistsResourceMissingRoutingNumberInvalidSecretKeyRequiredSepaUnsupportedAccountShippingCalculationFailedSkuInactiveStateUnsupportedTaxIdInvalidTaxesCalculationFailedTestmodeChargesOnlyTlsVersionUnsupportedTokenAlreadyUsedTokenInUseTransfersNotAllowedUpstreamOrderCreationFailedUrlInvalid
Trait Implementations
impl Debug for ErrorCode[src]
impl Debug for ErrorCodefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ErrorCode[src]
impl PartialEq for ErrorCodefn eq(&self, other: &ErrorCode) -> bool[src]
fn eq(&self, other: &ErrorCode) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Display for ErrorCode[src]
impl Display for ErrorCode