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:
Chethan Rao
2024-12-04 15:03:27 +05:30
committed by GitHub
parent 938b2a898e
commit fd82cf610a
13 changed files with 129 additions and 9 deletions

View File

@ -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,
}