Skip to main content

Module error_page

Module error_page 

Source
Expand description

Error page module to compose an HTML page response.

Functionsยง

cache_page
Pre-load the given page file into the in-memory cache. Missing files are silently skipped (the default HTML body will be served).
cached_page
Returns the cached body for path, or None if no entry exists.
error_response
It returns a HTTP error response which also handles available 404 or 50x HTML content.