Function serde_qs::warp::recover_fn [−][src]
pub async fn recover_fn(rejection: Rejection) -> Result<impl Reply, Rejection>
Expand description
Use this as the function for a .recover()
after assembled filter
This is not strictly required but changes the response from a “500 Internal Server Error” to a “400 Bad Request”