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)]
|
#[derive(Clone)]
|
||||||
pub struct FormConfig {
|
pub struct FormConfig {
|
||||||
limit: usize,
|
limit: usize,
|
||||||
err_handler: Option<Rc<dyn Fn(UrlencodedError, &HttpRequest) -> Error>>,
|
err_handler: FormErrHandler,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl FormConfig {
|
impl FormConfig {
|
||||||
|
|
Loading…
Reference in New Issue