package layouts
import "github.com/gofiber/fiber/v2"
import "strconv"
import "time"
templ errorHeading(err fiber.Error) {
Error {err.Message} - OmniBill
}
templ Error(err fiber.Error) {
@Base(errorHeading(err)) {
{err.Message}
Status Code: {strconv.Itoa(err.Code)} | Time: {time.Now().Format("2006-1-2 15:4:5")}
}
}