toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.exception
/
OpenAIError
Open
AIError
@
Serializable
data
class
OpenAIError
(
val
detail
:
OpenAIErrorDetails
?
=
null
)
Represents an error response from the OpenAI API.
Parameters
detail
information about the error that occurred.
Members
Constructors
Open
AIError
Link copied to clipboard
constructor
(
detail
:
OpenAIErrorDetails
?
=
null
)
Properties
detail
Link copied to clipboard
@
SerialName
(
value
=
"error"
)
val
detail
:
OpenAIErrorDetails
?
=
null