From 5d395d4ed73061b247c32dc63db6ddfa2dd62d39 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Wed, 4 Oct 2023 19:55:17 +0100 Subject: initial commit --- templates/error.rs.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 templates/error.rs.html (limited to 'templates/error.rs.html') diff --git a/templates/error.rs.html b/templates/error.rs.html new file mode 100644 index 0000000..cebb935 --- /dev/null +++ b/templates/error.rs.html @@ -0,0 +1,24 @@ +@use super::statics::*; +@use actix_web::http::StatusCode; + +@(code: StatusCode, message: &str) + + + + + + Error @code.as_u16(): @code.canonical_reason().unwrap_or("error") + + + + + +
+

@code.canonical_reason().unwrap_or("error")

+ +

@message

+

oopsie!

+
+ + + \ No newline at end of file -- cgit