summaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-12-19 18:52:39 +0530
committerBobby <[email protected]>2025-12-19 18:52:39 +0530
commited74f2cffa902a3e9aeb614f8dcf65f04658a597 (patch)
treea86fe689686774b2915608a511ba57822b0b6521 /types
parenta42fcbc8149f482d65a53ddcdc7bcfaaea359c69 (diff)
downloadlain-ed74f2cffa902a3e9aeb614f8dcf65f04658a597.tar.xz
lain-ed74f2cffa902a3e9aeb614f8dcf65f04658a597.zip
error controllers, types and templates and layouts
Diffstat (limited to 'types')
-rw-r--r--types/errors.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/types/errors.go b/types/errors.go
new file mode 100644
index 0000000..11f60f9
--- /dev/null
+++ b/types/errors.go
@@ -0,0 +1,10 @@
+package types
+
+import "github.com/gofiber/fiber/v2"
+
+type TemplateError struct {
+ Context *fiber.Ctx
+ PageTitle string
+ ErrorMessage error
+ StatusCode int
+}