Struct raze::B2ApiError [−][src]
An API error, most likely from a bad API call
Official documentation: Error Handling
Fields
status: u16
Contains the HTTP response code
code: String
A short string name for the error, eg. "invalid_bucket_name"
message: String
A human-readable error message describing what went wrong
Trait Implementations
impl Debug for B2ApiError
[src]
impl Debug for B2ApiError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for B2ApiError
[src]
impl Display for B2ApiError
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for B2ApiError
[src]
impl Error for B2ApiError
Auto Trait Implementations
impl Send for B2ApiError
impl Send for B2ApiError
impl Sync for B2ApiError
impl Sync for B2ApiError