add ResponseError for redis Error
@@ -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;
