Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

288 B
Raw Blame
import { BaseError } from "./BaseError";

/** TooManyRequestsError reports that a rate limit rejected the request. */
export class TooManyRequestsError extends BaseError {
  constructor(description = "Too Many Requests") {
    super("TooManyRequestsError", 429, description, true);
  }
}