MCPcopy Create free account
hub / github.com/decaporg/decap-cms / constructor

Method constructor

packages/decap/src/api.ts:13–18  ·  view source on GitHub ↗
(status: number, code: string, message: string)

Source from the content-addressed store, hash-verified

11 readonly code: string;
12
13 constructor(status: number, code: string, message: string) {
14 super(message);
15 this.name = 'ApiError';
16 this.status = status;
17 this.code = code;
18 }
19}
20
21/** Which client is calling, for the API's telemetry: a person at the CLI, or an agent through MCP. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected