MCPcopy Index your code
hub / github.com/deployd/deployd / error

Function error

test-app/public/mocha.js:2783–2785  ·  view source on GitHub ↗

* Display error `msg`. * * @param {string} msg

(msg)

Source from the content-addressed store, hash-verified

2781 * @param {string} msg
2782 */
2783 function error(msg) {
2784 document.body.appendChild(fragment('<div id="mocha-error">%s</div>', msg));
2785 }
2786
2787 /**
2788 * Return a DOM fragment from `html`.

Callers 7

session.jsFile · 0.85
getConnectionFunction · 0.85
collectionFunction · 0.85
HTMLFunction · 0.85
put.jsFile · 0.85
validate.jsFile · 0.85
post.jsFile · 0.85

Calls 1

fragmentFunction · 0.85

Tested by

no test coverage detected