mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 03:13:56 +08:00
refactor(gsm): add error_category column to gsm table (#6648)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -3372,3 +3372,28 @@ pub enum ConnectorMandateStatus {
|
||||
/// Indicates that the connector mandate is not active and hence cannot be used for payments.
|
||||
Inactive,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
Clone,
|
||||
Copy,
|
||||
Debug,
|
||||
strum::Display,
|
||||
PartialEq,
|
||||
Eq,
|
||||
serde::Serialize,
|
||||
serde::Deserialize,
|
||||
strum::EnumString,
|
||||
ToSchema,
|
||||
PartialOrd,
|
||||
Ord,
|
||||
)]
|
||||
#[router_derive::diesel_enum(storage_type = "text")]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
pub enum ErrorCategory {
|
||||
FrmDecline,
|
||||
ProcessorDowntime,
|
||||
ProcessorDeclineUnauthorized,
|
||||
IssueWithPaymentMethod,
|
||||
ProcessorDeclineIncorrectData,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user