MCPcopy Create free account
hub / github.com/microsoft/AI-Engineering-Coach / ErrorMsg

Function ErrorMsg

src/webview/render.ts:97–102  ·  view source on GitHub ↗
({ message }: { message: string })

Source from the content-addressed store, hash-verified

95}
96
97export function ErrorMsg({ message }: { message: string }) {
98 return html`<div class="error-boundary">
99 <p class="error-message">${message}</p>
100 <p class="error-hint">Try reloading the dashboard (Ctrl+Shift+P → "AI Engineer Coach: Reload Data")</p>
101 </div>`;
102}
103
104/**
105 * Wraps a page renderer with an error boundary that shows a fallback UI.

Callers

nothing calls this directly

Calls 1

htmlFunction · 0.70

Tested by

no test coverage detected