mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-03 05:17:02 +08:00
feat(pm_auth): pm_auth service migration (#3047)
Co-authored-by: Sarthak Soni <76486416+Sarthak1799@users.noreply.github.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sarthak Soni <sarthak.soni@juspay.in>
This commit is contained in:
5
crates/pm_auth/src/consts.rs
Normal file
5
crates/pm_auth/src/consts.rs
Normal file
@ -0,0 +1,5 @@
|
||||
pub const REQUEST_TIME_OUT: u64 = 30; // will timeout after the mentioned limit
|
||||
pub const REQUEST_TIMEOUT_ERROR_CODE: &str = "TIMEOUT"; // timeout error code
|
||||
pub const REQUEST_TIMEOUT_ERROR_MESSAGE: &str = "Connector did not respond in specified time"; // error message for timed out request
|
||||
pub const NO_ERROR_CODE: &str = "No error code";
|
||||
pub const NO_ERROR_MESSAGE: &str = "No error message";
|
||||
Reference in New Issue
Block a user