function displayErrorToast(title, message) { const errorToastId = "error-toast"; if (!document.getElementById(errorToastId)) { let toastDiv = document.createElement("div"); toastDiv.classList.add("toast-container", "end-0", "position-fixed", "p-3", "bottom-0"); toastDiv.innerHTML = `