(agentId: string, message: string, context?: Record<string, any>)
| 68 | |
| 69 | export 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 | |
| 81 | export class ToolError extends AppError { |
nothing calls this directly
no outgoing calls
no test coverage detected