[−][src]Enum stripe::ErrorCode
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 Eq for ErrorCode
[src]
impl Clone for ErrorCode
[src]
fn clone(&self) -> ErrorCode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ErrorCode
[src]
impl PartialEq<ErrorCode> for ErrorCode
[src]
fn eq(&self, other: &ErrorCode) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Hash for ErrorCode
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for ErrorCode
[src]
impl Display for ErrorCode
[src]
impl Serialize for ErrorCode
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for ErrorCode
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
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> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self