Enum openstack::ApiError
[−]
[src]
pub enum ApiError { InsufficientCredentials(String), EndpointNotFound(String), InvalidParameterValue(String), HttpError(StatusCode, Response), ProtocolError(HttpClientError), InvalidJson(JsonError), }
Error from an OpenStack API call.
Variants
InsufficientCredentials(String)
Insufficient credentials passed to make authentication request.
Contains the error message.
EndpointNotFound(String)
Requested service endpoint was not found.
Contains the failed endpoint name.
InvalidParameterValue(String)
Invalid value passed to one of paremeters.
Contains the error message.
HttpError(StatusCode, Response)
Generic HTTP error.
ProtocolError(HttpClientError)
Protocol-level error reported by underlying HTTP library.
InvalidJson(JsonError)
JSON parsing failed.
Trait Implementations
impl Debug for ApiError
[src]
impl Display for ApiError
[src]
impl Error for ApiError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<HttpClientError> for ApiError
[src]
fn from(value: HttpClientError) -> ApiError
Performs the conversion.