Enum stripe::StripeError [−][src]
pub enum StripeError {
Stripe(RequestError),
QueryStringSerialize(Error),
JSONSerialize(Error),
UnsupportedVersion,
ClientError(String),
Timeout,
}
Expand description
An error encountered when communicating with the Stripe API.
Variants
Stripe(RequestError)
Tuple Fields
0: RequestError
QueryStringSerialize(Error)
Tuple Fields
0: Error
JSONSerialize(Error)
Tuple Fields
0: Error
UnsupportedVersion
ClientError(String)
Tuple Fields
0: String
Timeout
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for StripeError
impl Send for StripeError
impl Sync for StripeError
impl Unpin for StripeError
impl !UnwindSafe for StripeError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more