MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / handleOpenAIError

Function handleOpenAIError

src/api/providers/utils/error-handler.ts:112–114  ·  view source on GitHub ↗
(error: unknown, providerName: string)

Source from the content-addressed store, hash-verified

110 * Re-exports with OpenAI-specific defaults for backward compatibility
111 */
112export function handleOpenAIError(error: unknown, providerName: string): Error {
113 return handleProviderError(error, providerName, { messagePrefix: "completion" })
114}

Callers 2

createMessageMethod · 0.50

Calls 1

handleProviderErrorFunction · 0.85

Tested by

no test coverage detected