Enum stripe::ErrorCode [−][src]
pub enum ErrorCode { InvalidNumber, InvalidExpiryMonth, InvalidExpiryYear, InvalidCvc, InvalidSwipeData, IncorrectNumber, ExpiredCard, IncorrectCvc, IncorrectZip, CardDeclined, Missing, ProcessingError, }
The list of possible values for a RequestError's code.
Variants
InvalidNumber
InvalidExpiryMonth
InvalidExpiryYear
InvalidCvc
InvalidSwipeData
IncorrectNumber
ExpiredCard
IncorrectCvc
IncorrectZip
CardDeclined
Missing
ProcessingError
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 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 Display for ErrorCode
[src]
impl Display for ErrorCode