noir.statuses documentation

If no pages are defined that match a request, a status page is used based on the
the HTTP status code of the response. This contains the function necessary to get
or set these status pages.

get-page

(get-page code)
Gets the content to display for the given status code

set-page!

(set-page! code content)
Sets the content to be displayed if there is a response with the given status
code. This is used for custom 404 pages, for example.