"""Custom Exceptions.""" class SplitIOClientError(Exception): """Base class for all SplitIO client errors.""" class HTTPRequestError(SplitIOClientError): """Raised when an HTTP error occurs.""" class RateLimitExceededError(SplitIOClientError): """Raised when rate limiting fails after retries.""" class InvalidContentTypeError(SplitIOClientError): """Raised when response content-type is not JSON.""" class JSONParsingError(SplitIOClientError): """Raised when response cannot be parsed as JSON.""" class InvalidResponseError(SplitIOClientError): """Raised when the response is not in expected format."""