Skip to content

Commit

Permalink
feat: item login exist error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Defferrard committed Aug 29, 2024
1 parent 07a7d4a commit fc18d30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/constants/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ export const FAILURE_MESSAGES = {
MEMBERSHIP_REQUEST_ALREADY_EXISTS: 'MEMBERSHIP_REQUEST_ALREADY_EXISTS',
MEMBERSHIP_REQUEST_NOT_FOUND: 'MEMBERSHIP_REQUEST_NOT_FOUND',
ACCOUNT_NOT_FOUND: 'ACCOUNT_NOT_FOUND',
CANNOT_CREATE_MEMBERSHIP_CAUSE_ITEM_LOGIN_SCHEMA_EXISTS:
'CANNOT_CREATE_MEMBERSHIP_CAUSE_ITEM_LOGIN_SCHEMA_EXISTS',
};

export const DEFAULT_FAILURE_MESSAGE = FAILURE_MESSAGES.UNEXPECTED_ERROR;
Expand Down
3 changes: 2 additions & 1 deletion src/langs/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@
"MEMBERSHIP_REQUEST_NOT_FOUND": "Provided Membership Request not found.",
"NOT_A_MEMBER": "Your account is not registered as a valid member",
"NOT_A_GUEST": "Your account is not registered as a valid pseudonimized user",
"ACCOUNT_NOT_FOUND": "An account was not found"
"ACCOUNT_NOT_FOUND": "An account was not found",
"CANNOT_CREATE_MEMBERSHIP_CAUSE_ITEM_LOGIN_SCHEMA_EXISTS": "You cannot request a membership because the targeted ressource allows pseudonimized users"
}

0 comments on commit fc18d30

Please sign in to comment.