MCPcopy Create free account
hub / github.com/LeenHawk/gproxy / ErrorBody

Interface ErrorBody

console/src/api/http.ts:11–13  ·  view source on GitHub ↗

Matches the backend's `{"error":{"message","type"}}` envelope.

Source from the content-addressed store, hash-verified

9
10/** Matches the backend's `{"error":{"message","type"}}` envelope. */
11interface ErrorBody {
12 error?: { message?: string; type?: string };
13}
14
15export class ApiError extends Error {
16 constructor(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected