MCPcopy Create free account
hub / github.com/explorerhq/sql-explorer / getErrorMessage

Function getErrorMessage

explorer/src/js/assistant.js:8–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import Choices from "choices.js"
7
8function getErrorMessage() {
9 const errorElement = document.querySelector('.alert-danger.db-error');
10 return errorElement ? errorElement.textContent.trim() : null;
11}
12
13function debounce(func, delay) {
14 let timeout;

Callers 2

setUpAssistantFunction · 0.85
submitAssistantAskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected