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

x/openai/resources/beta/threads/runs/mod.ts>RunStep.LastError

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

The last error associated with this run step. 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.