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:
Panagiotis Ganelis
2023-07-17 20:57:01 +03:00
committed by GitHub
parent 728177666b
commit a7c66ddea2
5 changed files with 257 additions and 277 deletions

View File

@ -1,5 +1,6 @@
pub mod api_error_response;
pub mod error_handlers;
pub mod transformers;
pub mod utils;
use std::fmt::Display;