Raised Exceptions¶
-
exception
cozify.Error.APIError(status_code, message)[source]¶ Error raised for non-200 API return codes
Parameters: - status_code (int) – HTTP status code returned by the API
- message (str) – Potential error message returned by the API
-
status_code¶ HTTP status code returned by the API
Type: int
-
message¶ Potential error message returned by the API
Type: str