[−][src]Enum stripe::ErrorCode
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
Trait Implementations
impl Clone for ErrorCode
[src][+]
impl Copy for ErrorCode
[src]
impl Debug for ErrorCode
[src][+]
impl<'de> Deserialize<'de> for ErrorCode
[src][+]
impl Display for ErrorCode
[src][+]
impl Eq for ErrorCode
[src]
impl Hash for ErrorCode
[src][+]
impl PartialEq<ErrorCode> for ErrorCode
[src][+]
impl Serialize for ErrorCode
[src][+]
impl StructuralEq for ErrorCode
[src]
impl StructuralPartialEq for ErrorCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,