v1.1.1
Added
- A fuller error hierarchy matching the Python client:
InputException(renamed fromInvalidArgumentException),TransportException,ResponseException(withResponseParseExceptionas a subclass), andApiStatusExceptionwithClientException(4xx) andApiException(5xx). CatchingSthAI\Exception\SthAIExceptionstill handles everything the client can throw. - HTTP error responses now parse the server's
{"error": {"message": ..., "type": ...}}body:ClientExceptionandApiExceptioncarrygetStatusCode(),getResponseBody(),getServerMessage()andgetErrorType().
What's Changed
Full Changelog: v1.1.0...v1.1.1