pub enum ErrorType {
Unknown,
Api,
Connection,
Authentication,
Card,
IdempotencyError,
InvalidRequest,
RateLimit,
Validation,
}
Expand description
The list of possible values for a RequestError’s type.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ErrorType
impl<'de> Deserialize<'de> for ErrorType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more