Migrate to actix-web #8
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue