MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / showError

Method showError

src/lib/FancyError.ts:184–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182 FancyError.queue.unshift(error);
183 } else {
184 const showError = (): void => {
185 $_('body').prepend(FancyError.generateModalHtml(error));
186 FancyError.attachDismissHandler(id);
187 };
188
189 if ($_('body').length > 0) {
190 showError();

Callers

nothing calls this directly

Calls 2

generateModalHtmlMethod · 0.80
attachDismissHandlerMethod · 0.80

Tested by

no test coverage detected