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
feat(error): add `DateTimeParsingError` and `EmailParsingError` variants to `ParsingError` enum (#1146)
Chethan Rao7eed8e7f3e84
diff --git a/crates/common_utils/src/errors.rs b/crates/common_utils/src/errors.rsindex de776954e7..8e1b88fc7f 100644--- a/crates/common_utils/src/errors.rs+++ b/crates/common_utils/src/errors.rs@@ -23,6 +23,12 @@ pub enum ParsingError {/// Failed to parse data#[error("Unknown error while parsing")]UnknownError,+ /// Failed to parse datetime+ #[error("Failed to parse datetime")]+ DateTimeParsingError,+ /// Failed to parse email+ #[error("Failed to parse email")]+ EmailParsingError,}/// Validation errors.