Python Library Error Types incorrect


In the docs it provides InvalidRequestError and ServiceUnavailableError as classes in the openai python library. However they are not as of the new version.
See screenshot

Here is the docs link:
https://platform.openai.com/docs/guides/error-codes/python-library-error-types

3 Likes

I want to add that in the documentation it lists openai.Timeout as an error type as well. This again is incorrect where the correct class name is openai.APITimeoutError

1 Like

Thanks for flagging, I am fixing this! Should be updated soon.

3 Likes