Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
refactor(errors): remove RedisErrorExt (#1389)
Abhishek Marrivagu5d515050cf77
diff --git a/crates/router/src/core/errors/utils.rs b/crates/router/src/core/errors/utils.rsindex 7c2b48cfe8..235b83f0b2 100644--- a/crates/router/src/core/errors/utils.rs+++ b/crates/router/src/core/errors/utils.rs@@ -192,19 +192,3 @@ impl<T> ConnectorErrorExt<T> for error_stack::Result<T, errors::ConnectorError>})}}--pub trait RedisErrorExt {- #[track_caller]- fn to_redis_failed_response(self, key: &str) -> error_stack::Report<errors::StorageError>;-}--impl RedisErrorExt for error_stack::Report<errors::RedisError> {- fn to_redis_failed_response(self, key: &str) -> error_stack::Report<errors::StorageError> {- match self.current_context() {- errors::RedisError::NotFound => self.change_context(- errors::StorageError::ValueNotFound(format!("Data does not exist for key {key}",)),- ),- _ => self.change_context(errors::StorageError::KVError),- }- }-}