mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +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::Discover => Ok(Self::Discover),
|
||||
utils::CardIssuer::Visa => Ok(Self::Visa),
|
||||
_ => Err(errors::ConnectorError::NotSupported {
|
||||
message: issuer.to_string(),
|
||||
connector: "worldline",
|
||||
}
|
||||
_ => Err(errors::ConnectorError::NotImplemented(
|
||||
utils::get_unimplemented_payment_method_error_message("worldline"),
|
||||
)
|
||||
.into()),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user