Migrate to actix-web #8

Manually merged
tlater merged 14 commits from tlater/actix-web into master 2022-09-16 17:44:53 +01:00
Showing only changes of commit b653d3a3f6 - Show all commits

View file

@ -11,7 +11,6 @@ use crate::template_utils::{render_template, ErrorMessage, TemplateArgs};
#[derive(Debug, Display, Error)] #[derive(Debug, Display, Error)]
pub enum UserError { pub enum UserError {
// #[display(fmt = "The page could not be found.")]
NotFound, NotFound,
#[display(fmt = "Internal error. Try again later.")] #[display(fmt = "Internal error. Try again later.")]
InternalError, InternalError,