form error handler type alias

This commit is contained in:
ibraheemdev 2021-04-22 08:50:30 -04:00
parent f898ccb724
commit 7c442e83fb
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ impl<T: Serialize> Responder for Form<T> {
#[derive(Clone)]
pub struct FormConfig {
limit: usize,
err_handler: Option<Rc<dyn Fn(UrlencodedError, &HttpRequest) -> Error>>,
err_handler: FormErrHandler,
}
impl FormConfig {