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

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

Deno build of the official Typescript library for the OpenAI API. Source: https://github.com/openai/openai-node
Extremely Popular
Go to Latest
interface Run.LastError
import { type Run } from "https://deno.land/x/openai@v4.19.0/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"

One of server_error or rate_limit_exceeded.

message: string

A human-readable description of the error.