make an error transparent so it's more meaningful
parent
d001d9efe5
commit
9eb470963c
|
@ -33,7 +33,7 @@ pub enum ServerError {
|
||||||
#[error ("Loading Handlebars template file")]
|
#[error ("Loading Handlebars template file")]
|
||||||
LoadHandlebars (#[from] handlebars::TemplateFileError),
|
LoadHandlebars (#[from] handlebars::TemplateFileError),
|
||||||
|
|
||||||
#[error ("File server error")]
|
#[error (transparent)]
|
||||||
FileServer (#[from] super::file_server::errors::FileServerError),
|
FileServer (#[from] super::file_server::errors::FileServerError),
|
||||||
|
|
||||||
// Hyper stuff
|
// Hyper stuff
|
||||||
|
|
Loading…
Reference in New Issue