OpenAIAPIException

Represents an exception thrown when an error occurs while interacting with the OpenAI API.

Inheritors

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

an instance of OpenAIError containing information about the error that occurred.

Link copied to clipboard
open val message: String?
Link copied to clipboard

the HTTP status code associated with the error.