mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
feat(framework): Added diff-checker required code and running ucs in shadow mode (#9684)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -157,6 +157,15 @@ pub const APPLEPAY_VALIDATION_URL: &str =
|
||||
/// Request ID
|
||||
pub const X_REQUEST_ID: &str = "x-request-id";
|
||||
|
||||
/// Flow name
|
||||
pub const X_FLOW_NAME: &str = "x-flow";
|
||||
|
||||
/// Connector name
|
||||
pub const X_CONNECTOR_NAME: &str = "x-connector";
|
||||
|
||||
/// Unified Connector Service Mode
|
||||
pub const X_UNIFIED_CONNECTOR_SERVICE_MODE: &str = "x-shadow-mode";
|
||||
|
||||
/// Chat Session ID
|
||||
pub const X_CHAT_SESSION_ID: &str = "x-chat-session-id";
|
||||
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
//! Errors and error specific types for universal use
|
||||
|
||||
use serde::Serialize;
|
||||
|
||||
use crate::types::MinorUnit;
|
||||
|
||||
/// Custom Result
|
||||
@ -78,7 +80,7 @@ pub enum ValidationError {
|
||||
}
|
||||
|
||||
/// Integrity check errors.
|
||||
#[derive(Debug, Clone, PartialEq, Default)]
|
||||
#[derive(Debug, Clone, PartialEq, Default, Serialize)]
|
||||
pub struct IntegrityCheckError {
|
||||
/// Field names for which integrity check failed!
|
||||
pub field_names: String,
|
||||
|
||||
Reference in New Issue
Block a user