MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / handleError

Function handleError

assets/js/TrailerApp.js:92–96  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

90}
91
92function handleError(error) {
93 movieSearchable.innerHTML = '';
94 const er = createErrorContainer();
95 movieSearchable.appendChild(er);
96}
97
98buttonElement.addEventListener('click', (e) => {
99 e.preventDefault();

Callers

nothing calls this directly

Calls 1

createErrorContainerFunction · 0.85

Tested by

no test coverage detected