1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-01-22 14:55:56 +01:00

add ResponseError for redis Error

This commit is contained in:
Nikolay Kim 2019-12-16 10:57:34 +06:00
parent 4d50ce9d2e
commit d3819b7588

View File

@ -37,6 +37,9 @@ pub enum Error {
Disconnected,
}
#[cfg(feature = "web")]
impl actix_web::ResponseError for Error {}
// re-export
pub use redis_async::error::Error as RespError;
pub use redis_async::resp::RespValue;