mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 00:21:08 +01:00
re-add serde error impls
This commit is contained in:
parent
9a26393375
commit
5a480d1d78
@ -57,6 +57,10 @@ impl ResponseError for serde::de::value::Error {
|
||||
}
|
||||
}
|
||||
|
||||
impl ResponseError for serde_json::Error {}
|
||||
|
||||
impl ResponseError for serde_urlencoded::ser::Error {}
|
||||
|
||||
impl ResponseError for std::str::Utf8Error {
|
||||
fn status_code(&self) -> StatusCode {
|
||||
StatusCode::BAD_REQUEST
|
||||
|
Loading…
Reference in New Issue
Block a user