Skip to content

Commit a433707

Browse files
committed
add WORK_ACCOUNT_CLOSED_ERROR constant
1 parent 83aea42 commit a433707

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/CONST/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6820,6 +6820,9 @@ const CONST = {
68206820

68216821
// We need to store this server side error in order to not show the blocking screen when the error is for invalid code
68226822
MERGE_ACCOUNT_INVALID_CODE_ERROR: '401 Not authorized - Invalid validateCode',
6823+
6824+
// Returned when a user tries to add a work email tied to a closed work account, so we can show a specific error message instead of the generic blocking screen subtitle
6825+
WORK_ACCOUNT_CLOSED_ERROR: '401 work account is closed',
68236826
REIMBURSEMENT_ACCOUNT: {
68246827
DEFAULT_DATA: {
68256828
achData: {

0 commit comments

Comments
 (0)