mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(core): Added integrity framework for Authorize and Sync flow with connector as Stripe (#5109)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Hrithikesh <61539176+hrithikesh026@users.noreply.github.com> Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
This commit is contained in:
@ -69,6 +69,15 @@ pub enum ValidationError {
|
||||
InvalidValue { message: String },
|
||||
}
|
||||
|
||||
/// Integrity check errors.
|
||||
#[derive(Debug, Clone, PartialEq, Default)]
|
||||
pub struct IntegrityCheckError {
|
||||
/// Field names for which integrity check failed!
|
||||
pub field_names: String,
|
||||
/// Connector transaction reference id
|
||||
pub connector_transaction_id: Option<String>,
|
||||
}
|
||||
|
||||
/// Cryptographic algorithm errors
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum CryptoError {
|
||||
|
||||
Reference in New Issue
Block a user