rulvar API reference / @rulvar/openai / openAiErrorToWire
Function: openAiErrorToWire()
ts
function openAiErrorToWire(error): WireError;Defined in: packages/openai/src/wire.ts:411
Projects SDK/API errors into the retryable WireError vocabulary.
Parameters
| Parameter | Type |
|---|---|
error | unknown |