class APIError
extends OpenAIError
import { APIError } from "https://deno.land/x/openai@v4.61.1/error.ts";
Constructors
new
APIError(status: number | undefined,
error: Object | undefined,
message: string | undefined,
headers: Headers | undefined,
Properties
readonly
headers: Headers | undefinedStatic Methods
private
makeMessage(status: number | undefined,
error: any,
message: string | undefined,