The freezerclient.exceptions Module¶
-
exception
freezerclient.exceptions.ApiClientException(r)[source]¶ Bases:
exceptions.Exception-
static
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
-
static