MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / showError

Function showError

popup/index.js:548–556  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

546}
547
548function showError(e) {
549 Swal.fire({
550 icon: "error",
551 title: t({ vi: "Lỗi", en: "Error" }),
552 text: e?.message || "",
553 input: "textarea",
554 inputValue: JSON.stringify(e, null, 4),
555 });
556}
557
558function checkIsPreview(script) {
559 if (

Callers 1

runScriptFunction · 0.85

Calls 1

tFunction · 0.90

Tested by

no test coverage detected