Enum openstack::Error [] [src]

pub enum Error {
    EndpointNotFound(String),
    InvalidInput(String),
    InvalidUrl(UrlError),
    HttpError(StatusCodeResponse),
    ProtocolError(HttpClientError),
    InvalidResponse(String),
    InvalidApiVersion {
        value: String,
        message: String,
    },
    UnsupportedApiVersion {
        requested: ApiVersionRequest,
        minimum: Option<ApiVersion>,
        maximum: Option<ApiVersion>,
    },
}

Error from an OpenStack call.

Variants

Requested service endpoint was not found.

Contains the failed endpoint name.

Invalid value passed to one of paremeters.

Contains the error message.

Invalid URL.

Generic HTTP error.

Protocol-level error reported by underlying HTTP library.

Response received from the server is malformed.

Contains the error message.

Malformed API version.

Fields of InvalidApiVersion

Unsupported API version.

Fields of UnsupportedApiVersion

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<HttpClientError> for Error
[src]

[src]

Performs the conversion.

impl From<UrlError> for Error
[src]

[src]

Performs the conversion.