{{$status_code := placeholder "http.error.status_code"}} {{$requestUrl := print $.Host $.OriginalReq.URL.Path}} {{$message := "Something Really Random 🤷‍♂️"}} {{if eq $status_code "404" }} {{$message = "Not found"}} {{end}}

Whoopsie… {{$status_code}} {{$message}}

{{if eq $status_code "404" }}

Sorry, {{$requestUrl}} was not found.

{{else}}

Sorry, this should not happen! Some error crasehd soemthing. Please let me know about this if it continues happening.

{{end}}

Maybe try the search?

Here is a represenation of my server…

Gif of a cat failing to do something.