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
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
Trait Implementations
impl Debug for ErrorCode
[src]
impl Debug for ErrorCode
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for ErrorCode
[src]
impl Eq for ErrorCode
impl PartialEq for ErrorCode
[src]
impl PartialEq for ErrorCode
fn eq(&self, other: &ErrorCode) -> bool
[src]
fn eq(&self, other: &ErrorCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Hash for ErrorCode
[src]
impl Hash for ErrorCode
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for ErrorCode
[src]
impl Display for ErrorCode