Enum stripe::Error
[−]
[src]
pub enum Error {
Stripe(RequestError),
Http(Error),
Io(Error),
Conversion(Box<Error + Send>),
}An error encountered when communicating with the Stripe API.
Variants
Stripe(RequestError)An error reported by Stripe.
Http(Error)A networking error communicating with the Stripe server.
Io(Error)An error reading the response body.
Conversion(Box<Error + Send>)An error converting between wire format and Rust types.
Trait Implementations
impl Debug for Error[src]
impl Display for Error[src]
impl Error for Error[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<RequestError> for Error[src]
fn from(err: RequestError) -> Error
Performs the conversion.