MCPcopy Create free account
hub / github.com/OWASP/Python-Honeypot / displayErrorMessage

Function displayErrorMessage

web/static/js/explore.js:646–650  ·  view source on GitHub ↗

* Function is called when there is an error in user input in Log Explorer * @param message error message that is to be displayed

(message)

Source from the content-addressed store, hash-verified

644 * @param message error message that is to be displayed
645 */
646function displayErrorMessage(message) {
647 const errorMessageElement = document.getElementById("error-message-element");
648 errorMessageElement.innerText = message;
649 errorMessageElement.hidden = false;
650}
651
652/**
653 * Form update based on event type selected

Callers 1

search_databaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected