Skip to main content
Glama
errors.ts354 B
export class RateLimitError extends Error { constructor(message: string, public readonly retryAfterSeconds?: number) { super(message); this.name = 'RateLimitError'; } } export class OpenRouterError extends Error { constructor(message: string, public readonly status?: number) { super(message); this.name = 'OpenRouterError'; } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/meinzeug/mcp-ai-bug-helper'

If you have feedback or need assistance with the MCP directory API, please join our Discord server