Enum stripe::Error
[−]
[src]
pub enum Error {
BadStatus {
code: u16,
body: String,
},
Decode(Error),
Encode(Error),
Http(Error),
Io(Error),
}Variants
BadStatusFields of BadStatus
code: u16 | |
body: String |
Decode(Error)Encode(Error)Http(Error)Io(Error)Methods
impl Error[src]
fn from_status(code: u16, body: String) -> Error
fn from_encode(err: Error) -> Error
fn from_decode(err: Error) -> Error
fn from_http(err: Error) -> Error
fn from_io(err: Error) -> Error
fn blame(&self) -> Blame
Trait Implementations
impl Debug for Error[src]
impl Display for Error[src]
impl StandardError for Error[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StandardError>
The lower-level cause of this error, if any. Read more