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

Method constructor

packages/server/src/errors.ts:18–21  ·  view source on GitHub ↗
(resource: string, id: string)

Source from the content-addressed store, hash-verified

16/** 资源未找到 */
17export class NotFoundError extends ServiceError {
18 constructor(resource: string, id: string) {
19 super(`${resource} not found: ${id}`, 'NOT_FOUND', 404);
20 this.name = 'NotFoundError';
21 }
22}
23
24/** 数据校验失败 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected