Package: @effect/ai-openrouter
Module: OpenRouterError
OpenRouter-specific error metadata fields.
Signature
type OpenRouterErrorMetadata = {
/**
* The error code returned by the API.
*/
readonly errorCode: string | number | null
/**
* The error type returned by the API.
*/
readonly errorType: string | null
/**
* The unique request ID for debugging.
*/
readonly requestId: string | null
}
Since v4.0.0