ErrorEvent - TypeScript SDK
ErrorEvent type definition
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ErrorEvent type definition
import { ErrorEvent } from "@openrouter/sdk/models";
let value: ErrorEvent = {
code: "<value>",
message: "<value>",
param: "<value>",
sequenceNumber: 0,
type: "error",
};
| Field | Type | Required | Description |
|---|---|---|---|
code | string | :heavy_check_mark: | N/A |
message | string | :heavy_check_mark: | N/A |
param | string | :heavy_check_mark: | N/A |
sequenceNumber | number | :heavy_check_mark: | N/A |
type | ”error” | :heavy_check_mark: | N/A |