Enum stripe::Error [−][src]
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 Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Error[src]
impl Display for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for Error[src]
impl Error for Errorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>[src]
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl From<RequestError> for Error[src]
impl From<RequestError> for Errorfn from(err: RequestError) -> Error[src]
fn from(err: RequestError) -> ErrorPerforms the conversion.
impl From<Error> for Error[src]
impl From<Error> for Errorimpl From<Error> for Error[src]
impl From<Error> for Errorimpl From<Error> for Error[src]
impl From<Error> for Errorimpl From<Error> for Error[src]
impl From<Error> for Error