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

x/openai/resources/beta/mod.ts>AssistantStreamEvent.ErrorEvent

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

Occurs when an error occurs. This can happen due to an internal server error or a timeout.

Properties

data: Shared.ErrorObject
event: "error"