MCPcopy
hub / github.com/CopilotKit/CopilotKit / emitError

Method emitError

packages/core/src/core/core.ts:310–310  ·  view source on GitHub ↗
(params: {
    error: Error;
    code: CopilotKitCoreErrorCode;
    context?: Record<string, any>;
  })

Source from the content-addressed store, hash-verified

308 ): Promise<void>;
309
310 emitError(params: {
311 error: Error;
312 code: CopilotKitCoreErrorCode;
313 context?: Record<string, any>;

Callers 7

connectAgentMethod · 0.65
runAgentMethod · 0.65
executeToolHandlerMethod · 0.65
executeWildcardToolMethod · 0.65
runToolMethod · 0.65
emitAgentErrorMethod · 0.65

Implementers 1

CopilotKitCorepackages/core/src/core/core.ts

Calls

no outgoing calls

Tested by

no test coverage detected