Struct raze::B2ApiError[][src]

pub struct B2ApiError {
    pub status: u16,
    pub code: String,
    pub message: String,
}

An API error, most likely from a bad API call

Official documentation: Error Handling

Fields

Contains the HTTP response code

A short string name for the error, eg. "invalid_bucket_name"

A human-readable error message describing what went wrong

Trait Implementations

impl Debug for B2ApiError
[src]

Formats the value using the given formatter. Read more

impl Display for B2ApiError
[src]

Formats the value using the given formatter. Read more

impl Error for B2ApiError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl Send for B2ApiError

impl Sync for B2ApiError