Enum openstack::ApiError [] [src]

pub enum ApiError {
    InsufficientCredentials(String),
    EndpointNotFound(String),
    InvalidParameterValue(String),
    HttpError(StatusCodeResponse),
    ProtocolError(HttpClientError),
    InvalidJson(JsonError),
}

Error from an OpenStack API call.

Variants

Insufficient credentials passed to make authentication request.

Contains the error message.

Requested service endpoint was not found.

Contains the failed endpoint name.

Invalid value passed to one of paremeters.

Contains the error message.

Generic HTTP error.

Protocol-level error reported by underlying HTTP library.

JSON parsing failed.

Trait Implementations

impl Debug for ApiError
[src]

Formats the value using the given formatter.

impl Display for ApiError
[src]

Formats the value using the given formatter.

impl Error for ApiError
[src]

A short description of the error. Read more

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

impl From<HttpClientError> for ApiError
[src]

Performs the conversion.

impl From<Error> for ApiError
[src]

Performs the conversion.

impl From<JsonError> for ApiError
[src]

Performs the conversion.

impl From<ParseError> for ApiError
[src]

Performs the conversion.