lem.errors[key][0]);
            }

            alert(errors.join("\n"));
          } else {
            const message = problem.detail ?? problem.output;
            if (message) {
              alert(message);
            } else {
              alert(`HTTP Response ${error.response.status} Error`);
            }
          }
        }
      },
      async beforeMount() {
        await this.load();
      }
    };

    Vue.createApp(app).mount("#app");
  </script>
</body>
</html>
