OpenAIErrorDetails
@Serializable
Represents an error object returned by the OpenAI API.
Parameters
code
error code returned by the OpenAI API.
message
human-readable error message describing the error that occurred.
param
the parameter that caused the error, if applicable.
type
the type of error that occurred.