async_redis_lock/
error.rs

1use thiserror::Error as ThisError;
2
3#[derive(ThisError, Debug, PartialEq)]
4pub enum Error {
5    #[error("Id not found")]
6    IdNotFound,
7
8    #[error("Timeout")]
9    Timeout,
10}