1 2 3 4 5 6 7 8 9
@use super::base_html; @use poem::http::StatusCode; @(status: &str, message: &str) @:base_html({ <h1>error @status</h1> <h2>@message</h2> })