Package: @effect/ai-openai-compat
Module: OpenAiError
OpenAI-specific error metadata fields.
Signature
type OpenAiErrorMetadata = {
/**
* The OpenAI error code returned by the API.
*/
readonly errorCode: string | null
/**
* The OpenAI error type returned by the API.
*/
readonly errorType: string | null
/**
* The unique request ID for debugging with OpenAI support.
*/
readonly requestId: string | null
}
Since v4.0.0