critch/templates/error.rs.html

10 lines
143 B
HTML
Raw Permalink Normal View History

2024-11-14 17:59:21 +00:00
@use super::base_html;
@use poem::http::StatusCode;
@(status: &str, message: &str)
@:base_html({
<h1>error @status</h1>
<h2>@message</h2>
})