package web
import "fmt"
import "net/http"
templ ErrorXXX(errCode int, reason, message, referer string) {
{{ errText := http.StatusText(errCode) }}
@base(errText, errText, "", "", errorXXXHead()) {
{ fmt.Sprint(errCode) }
{ errText }
if reason != "" {
{ reason }
}
if message != "" {
{ message }
}
if referer != "" {
}
}
}
templ errorXXXHead() {
}