class APIError
extends OpenAIError
import { APIError } from "https://deno.land/x/openai@v4.69.0/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,