MCPcopy Create free account
hub / github.com/agent-tower/core / constructor

Method constructor

packages/web/src/lib/api-client.ts:95–100  ·  view source on GitHub ↗
(status: number, message: string, details: ApiErrorPayload = {})

Source from the content-addressed store, hash-verified

93 method: 'PATCH',
94 body: data ? JSON.stringify(data) : undefined,
95 })
96 }
97
98 delete<T>(endpoint: string, options?: RequestOptions) {
99 return this.request<T>(endpoint, { ...options, method: 'DELETE' })
100 }
101}
102
103export class ApiError extends Error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected