MCPcopy Create free account
hub / github.com/cloudflare/claude-managed-agents / constructor

Method constructor

frontend/src/api.ts:4–11  ·  view source on GitHub ↗
(
    public status: number,
    public body: unknown,
    message: string,
  )

Source from the content-addressed store, hash-verified

2
3export class ApiError extends Error {
4 constructor(
5 public status: number,
6 public body: unknown,
7 message: string,
8 ) {
9 super(message);
10 this.name = "ApiError";
11 }
12}
13
14async function request<T>(path: string, init?: RequestInit): Promise<T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected