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]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<RequestError> for Error
[src]
fn from(err: RequestError) -> Error
[src]
Performs the conversion.