mirror of
https://github.com/actix/actix-extras.git
synced 2025-01-22 23:05:56 +01:00
add ResponseError for redis Error
This commit is contained in:
parent
4d50ce9d2e
commit
d3819b7588
@ -37,6 +37,9 @@ pub enum Error {
|
|||||||
Disconnected,
|
Disconnected,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "web")]
|
||||||
|
impl actix_web::ResponseError for Error {}
|
||||||
|
|
||||||
// re-export
|
// re-export
|
||||||
pub use redis_async::error::Error as RespError;
|
pub use redis_async::error::Error as RespError;
|
||||||
pub use redis_async::resp::RespValue;
|
pub use redis_async::resp::RespValue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user