Skip to content

OpenAI.OpenAIException

Andrew Lambert edited this page Feb 7, 2023 · 1 revision

OpenAI.OpenAIException

Class Declaration

 Protected Class OpenAIException
 Inherits RuntimeException

Remarks

This exception type will be raised if the OpenAI API returns an error response. The Message property will contain the error message, if one was provided.

Clone this wiki locally