MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / onerror

Function onerror

src/pages/plugin/plugin.js:332–335  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

330 }
331
332 async function onerror(error) {
333 helpers.error(error);
334 $button.textContent = oldText;
335 }
336 } catch (error) {
337 window.log("error", "Failed to buy:");
338 window.log("error", error);

Callers

nothing calls this directly

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected