Bases: exceptions.Exception
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 |