Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Error information

Example Usage

import { ErrorT } from "@openrouter/sdk/models";

let value: ErrorT = {
  code: 429,
  message: "Rate limit exceeded",
};

Fields

FieldTypeRequiredDescriptionExample
codenumber:heavy_check_mark:Error code429
messagestring:heavy_check_mark:Error messageRate limit exceeded