mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
refactor(connector): [Worldline] change error message from NotSupported to NotImplemented (#2893)
This commit is contained in:
@ -306,10 +306,9 @@ impl TryFrom<utils::CardIssuer> for Gateway {
|
|||||||
utils::CardIssuer::Master => Ok(Self::MasterCard),
|
utils::CardIssuer::Master => Ok(Self::MasterCard),
|
||||||
utils::CardIssuer::Discover => Ok(Self::Discover),
|
utils::CardIssuer::Discover => Ok(Self::Discover),
|
||||||
utils::CardIssuer::Visa => Ok(Self::Visa),
|
utils::CardIssuer::Visa => Ok(Self::Visa),
|
||||||
_ => Err(errors::ConnectorError::NotSupported {
|
_ => Err(errors::ConnectorError::NotImplemented(
|
||||||
message: issuer.to_string(),
|
utils::get_unimplemented_payment_method_error_message("worldline"),
|
||||||
connector: "worldline",
|
)
|
||||||
}
|
|
||||||
.into()),
|
.into()),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user