mirror of
https://github.com/actix/actix-extras.git
synced 2025-02-17 08:33:30 +01:00
impl std::error::Error
for Error
(#135)
This commit is contained in:
parent
99e98f1a29
commit
a22e4cfa36
@ -1,7 +1,7 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2020-xx-xx
|
## Unreleased - 2020-xx-xx
|
||||||
|
* Implement `std::error::Error` for `Error` [#135]
|
||||||
|
|
||||||
## 0.9.1 - 2020-09-12
|
## 0.9.1 - 2020-09-12
|
||||||
* Enforce minimum redis-async version of 0.6.3 to workaround breaking patch change.
|
* Enforce minimum redis-async version of 0.6.3 to workaround breaking patch change.
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
mod redis;
|
mod redis;
|
||||||
pub use redis::{Command, RedisActor};
|
pub use redis::{Command, RedisActor};
|
||||||
|
|
||||||
use derive_more::{Display, From};
|
use derive_more::{Display, Error, From};
|
||||||
|
|
||||||
#[cfg(feature = "web")]
|
#[cfg(feature = "web")]
|
||||||
mod session;
|
mod session;
|
||||||
@ -22,7 +22,7 @@ pub use actix_web::cookie::SameSite;
|
|||||||
pub use session::RedisSession;
|
pub use session::RedisSession;
|
||||||
|
|
||||||
/// General purpose actix redis error
|
/// General purpose actix redis error
|
||||||
#[derive(Debug, Display, From)]
|
#[derive(Debug, Display, Error, From)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
#[display(fmt = "Redis error {}", _0)]
|
#[display(fmt = "Redis error {}", _0)]
|
||||||
Redis(redis_async::error::Error),
|
Redis(redis_async::error::Error),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user