freezerclient.exceptions
Module¶freezerclient.exceptions.
ApiClientException
(r)[source]¶Bases: exceptions.Exception
get_message_from_api_response
(r)[source]¶returns a message based on information from a api-formatted response if available, otherwise None api-formatted response should be:
- {
- title: “error title string”, description: “error description string”
}
Parameters: | r – response object |
---|---|
Returns: | string with error message or None if it fails |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.