MCPcopy Create free account
hub / github.com/altic-dev/Pilot / sendError

Method sendError

public/picker/react-component-picker.js:436–445  ·  view source on GitHub ↗

* Send error to parent window

(message)

Source from the content-addressed store, hash-verified

434 * Send error to parent window
435 */
436 sendError(message) {
437 try {
438 window.parent.postMessage({
439 type: 'picker-error',
440 error: message
441 }, '*');
442 } catch (error) {
443 console.error('[Pilot Picker] Error sending error to parent:', error);
444 }
445 }
446 }
447
448 // Initialize picker instance

Callers 1

handleClickMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected