mirror of https://github.com/fafhrd91/actix-web
form error handler type alias
This commit is contained in:
parent
f898ccb724
commit
7c442e83fb
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue