MCPcopy Create free account
hub / github.com/buct2012dbl/Dorchestrator / constructor

Method constructor

coding-agent/src/errors/errors.ts:70–78  ·  view source on GitHub ↗
(agentId: string, message: string, context?: Record<string, any>)

Source from the content-addressed store, hash-verified

68
69export class AgentError extends AppError {
70 constructor(agentId: string, message: string, context?: Record<string, any>) {
71 super(
72 `Agent ${agentId} error: ${message}`,
73 'AGENT_ERROR',
74 500,
75 true,
76 { agentId, ...context }
77 );
78 }
79}
80
81export class ToolError extends AppError {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected