Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai/resources/beta/threads/mod.ts>Run.LastError

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface Run.LastError
import { type Run } from "https://deno.land/x/openai@v4.38.5/resources/beta/threads/mod.ts";
const { LastError } = Run;

The last error associated with this run. Will be null if there are no errors.

Properties

code: "server_error" | "rate_limit_exceeded" | "invalid_prompt"

One of server_error, rate_limit_exceeded, or invalid_prompt.

message: string

A human-readable description of the error.