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

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

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface RunStep.LastError
import { type RunStep } from "https://deno.land/x/openai@v4.41.1/resources/beta/threads/runs/steps.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.