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:
parent
4d50ce9d2e
commit
d3819b7588
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user