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