Function
ErrorMsg
({ message }: { message: string })
Source from the content-addressed store, hash-verified
| 95 | } |
| 96 | |
| 97 | export 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
Tested by
no test coverage detected