refactor: move config defaults from TOML files to Default trait (#352)

This commit is contained in:
Sanchith Hegde
2023-01-17 19:13:16 +05:30
committed by GitHub
parent 4f6a8fcd9d
commit beb0384047
20 changed files with 589 additions and 169 deletions

View File

@ -4,6 +4,8 @@
#[derive(Debug, thiserror::Error)]
pub enum RedisError {
#[error("Invalid Redis configuration: {0}")]
InvalidConfiguration(String),
#[error("Failed to set key value in Redis")]
SetFailed,
#[error("Failed to set key value with expiry in Redis")]