MCPcopy Index your code
hub / github.com/agent0ai/agent-zero / invokeErrorCallbacks

Method invokeErrorCallbacks

webui/js/websocket.js:694–702  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

692 }
693
694 invokeErrorCallbacks(error) {
695 this.errorCallbacks.forEach((cb) => {
696 try {
697 cb(error);
698 } catch (err) {
699 console.error("WebSocket onError callback error:", err);
700 }
701 });
702 }
703
704 ensurePayloadSize(data) {
705 const size = this.calculatePayloadSize(data);

Callers 2

handlerMethod · 0.95
initializeSocketMethod · 0.95

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected