CarmenAPIError
from carmen_cloud_client import CarmenAPIError
Bases: Exception
Exception raised when an API call fails: a non-2xx response, or a request that still fails after the configured number of retries.
Attributes: name (str): The name of the exception. status (Optional[int]): The HTTP status code, when the API responded. body: The parsed response body, when the API responded.
Methodsโ
Constructorโ
def __init__(self, message, status=None, body=None)