Exceptions
src.awtrix_light_client.http_client.AwtrixLightHttpClientError ¶
AwtrixLightHttpClientError(status_code, content, *args)
Bases: BaseException
Class of API exception
Parameters:
Name | Type | Description | Default |
---|---|---|---|
status_code
|
int
|
HTTP status code of the response |
required |
content
|
str
|
HTTP content of the response |
required |
Source code in src/awtrix_light_client/http_client.py
26 27 28 29 |
|