Migrate to actix-web #8
|
@ -11,7 +11,6 @@ use crate::template_utils::{render_template, ErrorMessage, TemplateArgs};
|
|||
|
||||
#[derive(Debug, Display, Error)]
|
||||
pub enum UserError {
|
||||
// #[display(fmt = "The page could not be found.")]
|
||||
NotFound,
|
||||
#[display(fmt = "Internal error. Try again later.")]
|
||||
InternalError,
|
||||
|
|
Loading…
Reference in a new issue