MCPcopy Create free account
hub / github.com/DFin/Neural-Network-Visualisation / renderErrorMessage

Function renderErrorMessage

assets/main.js:672–677  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

670}
671
672function renderErrorMessage(message) {
673 const chart = document.getElementById("predictionChart");
674 if (chart) {
675 chart.innerHTML = `<p class="error-text">${message}</p>`;
676 }
677}
678
679function resolveRelativeUrl(base, relativePath) {
680 try {

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected