mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 16:32:59 +01:00
display parse error for ws client errors
This commit is contained in:
parent
617b8557e1
commit
06387fc778
@ -37,7 +37,7 @@ pub enum ClientError {
|
|||||||
#[fail(display = "Http parsing error")]
|
#[fail(display = "Http parsing error")]
|
||||||
Http(HttpError),
|
Http(HttpError),
|
||||||
/// Response parsing error
|
/// Response parsing error
|
||||||
#[fail(display = "Response parsing error")]
|
#[fail(display = "Response parsing error: {}", _0)]
|
||||||
ParseError(ParseError),
|
ParseError(ParseError),
|
||||||
/// Protocol error
|
/// Protocol error
|
||||||
#[fail(display = "{}", _0)]
|
#[fail(display = "{}", _0)]
|
||||||
|
Loading…
Reference in New Issue
Block a user