diff options
author | Alan Pearce | 2024-06-26 11:20:15 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-26 11:20:15 +0200 |
commit | f8bf946b090aa4fb0b8beb4ad09c1f06078f0b5b (patch) | |
tree | 4f190e4cf9b2cba36147a6c580bfe8a7295d7bb6 /internal/http/error.go | |
parent | 56ac09928f9aea7a25577e9da716afcd09d2d6b8 (diff) | |
download | website-f8bf946b090aa4fb0b8beb4ad09c1f06078f0b5b.tar.lz website-f8bf946b090aa4fb0b8beb4ad09c1f06078f0b5b.tar.zst website-f8bf946b090aa4fb0b8beb4ad09c1f06078f0b5b.zip |
make error pages dynamic
Diffstat (limited to 'internal/http/error.go')
-rw-r--r-- | internal/http/error.go | 7 |
1 files changed, 7 insertions, 0 deletions
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 +} |