Skip to content

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

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

/** BadGatewayError reports an invalid response from an upstream service. */
export class BadGatewayError extends BaseError {
  constructor(description = "Bad Gateway") {
    super("BadGatewayError", 502, description, true);
  }
}