You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`.raw_response`|*httpx.Response*| The raw HTTP response |
692
-
|`.body`|*str*| The response content |
693
-
694
-
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `list_async` method may raise the following exceptions:
**Inherit from [`MistralError`](./src/mistralai/models/mistralerror.py)**:
741
+
*[`HTTPValidationError`](./src/mistralai/models/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 47 of 68 methods.*
742
+
*[`ResponseValidationError`](./src/mistralai/models/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
743
+
744
+
</details>
745
+
746
+
\* Check [the method documentation](#available-resources-and-operations) to see if the error is applicable.
0 commit comments