From 26901f82220fe18c0ad6e2bfc23c59b451a4e198 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Fri, 8 Sep 2023 23:19:40 +0100 Subject: feat: add error handling (#14) * Remove commented out crap * Update theme to use some colors from catppuccin, add error handling for API/DB --- resources/views/components/errors/api-error.blade.php | 4 ++++ resources/views/components/errors/db-error.blade.php | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 resources/views/components/errors/api-error.blade.php create mode 100644 resources/views/components/errors/db-error.blade.php (limited to 'resources/views/components') diff --git a/resources/views/components/errors/api-error.blade.php b/resources/views/components/errors/api-error.blade.php new file mode 100644 index 0000000..1d4609a --- /dev/null +++ b/resources/views/components/errors/api-error.blade.php @@ -0,0 +1,4 @@ +
+

API Error: There was an error connecting to the API.

+

If this error persists, please notify me via e-mail.

+
diff --git a/resources/views/components/errors/db-error.blade.php b/resources/views/components/errors/db-error.blade.php new file mode 100644 index 0000000..45f6157 --- /dev/null +++ b/resources/views/components/errors/db-error.blade.php @@ -0,0 +1,4 @@ +
+

DB Error: There was an error connecting to the database.

+

If this error persists, please notify me via e-mail.

+
-- cgit v1.2.3-54-g00ecf