diff options
Diffstat (limited to 'templates/error.rs.html')
-rw-r--r-- | templates/error.rs.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/error.rs.html b/templates/error.rs.html new file mode 100644 index 0000000..66b6861 --- /dev/null +++ b/templates/error.rs.html @@ -0,0 +1,9 @@ +@use super::base_html; +@use poem::http::StatusCode; + +@(status: &str, message: &str) + +@:base_html({ +<h1>error @status</h1> +<h2>@message</h2> +}) |