Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/src/util.ts>throwError

Unofficial Deno wrapper for the Open Ai api
Extremely Popular
Go to Latest
function throwError
import { throwError } from "https://deno.land/x/openai@1.4.3/src/util.ts";

Parameters

data: { error?: { type: string; message: string; code: string; }; }