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

x/openai/resources/beta/threads/runs/runs.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.56.0/resources/beta/threads/runs/runs.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.