From 65324763c29677f1b8d6d9933a4de5f12b87fb43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=C4=8Do?= Date: Wed, 11 Mar 2026 09:53:36 +0200 Subject: [PATCH] creating new error page --- webui/src/routes/+error.svelte | 59 ++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 webui/src/routes/+error.svelte diff --git a/webui/src/routes/+error.svelte b/webui/src/routes/+error.svelte new file mode 100644 index 000000000..824198e2c --- /dev/null +++ b/webui/src/routes/+error.svelte @@ -0,0 +1,59 @@ + + +
+ + +
+
+

+ Oops, something went wrong! +

+
+
+ + +

+ {page.status} + + | {page.error?.message} + +

+
+ + + {#if page.status === 404} +

+ This page is like the best solution in the multiobjective optimization...
It doesn't really exist! +

+ {:else if page.status === 500} +

+ Something at our end is not working, it's not your fault. Sorry about that. +

+ {:else} +

+ This is kinda not working. You'd better go back home
...or try to refresh page
...or do whatever you think is optimal +

+ {/if} +
+
+
+ + +
+
\ No newline at end of file