mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
refactor(router): remove WebhookApiErrorSwitch and implement error mapping using ErrorSwitch (#1660)
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
This commit is contained in:
committed by
GitHub
parent
728177666b
commit
a7c66ddea2
@ -1,10 +1,10 @@
|
||||
pub mod types;
|
||||
pub mod utils;
|
||||
|
||||
use common_utils::errors::ReportSwitchExt;
|
||||
use error_stack::{report, IntoReport, ResultExt};
|
||||
use masking::ExposeInterface;
|
||||
use router_env::{instrument, tracing};
|
||||
use utils::WebhookApiErrorSwitch;
|
||||
|
||||
use super::{errors::StorageErrorExt, metrics};
|
||||
use crate::{
|
||||
|
||||
Reference in New Issue
Block a user