From f8bf946b090aa4fb0b8beb4ad09c1f06078f0b5b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 26 Jun 2024 11:20:15 +0200 Subject: make error pages dynamic --- internal/http/error.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 internal/http/error.go (limited to 'internal/http/error.go') diff --git a/internal/http/error.go b/internal/http/error.go new file mode 100644 index 0000000..8ad3e16 --- /dev/null +++ b/internal/http/error.go @@ -0,0 +1,7 @@ +package http + +type Error struct { + Error error + Message string + Code int +} -- cgit 1.4.1