mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(core): add localization support for unified error messages (#5624)
Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-N7WRTY72X7.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -130,3 +130,7 @@ pub const CONNECTOR_CREDS_TOKEN_TTL: i64 = 900;
|
||||
|
||||
//max_amount allowed is 999999999 in minor units
|
||||
pub const MAX_ALLOWED_AMOUNT: i64 = 999999999;
|
||||
|
||||
//payment attempt default unified error code and unified error message
|
||||
pub const DEFAULT_UNIFIED_ERROR_CODE: &str = "UE_000";
|
||||
pub const DEFAULT_UNIFIED_ERROR_MESSAGE: &str = "Something went wrong";
|
||||
|
||||
Reference in New Issue
Block a user