diff options
| author | Bobby <[email protected]> | 2025-12-19 18:52:39 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2025-12-19 18:52:39 +0530 |
| commit | ed74f2cffa902a3e9aeb614f8dcf65f04658a597 (patch) | |
| tree | a86fe689686774b2915608a511ba57822b0b6521 /types/errors.go | |
| parent | a42fcbc8149f482d65a53ddcdc7bcfaaea359c69 (diff) | |
| download | lain-ed74f2cffa902a3e9aeb614f8dcf65f04658a597.tar.xz lain-ed74f2cffa902a3e9aeb614f8dcf65f04658a597.zip | |
error controllers, types and templates and layouts
Diffstat (limited to 'types/errors.go')
| -rw-r--r-- | types/errors.go | 10 |
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 +} |
