Skip to content

Commit

Permalink
feat: account not found error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Defferrard authored and spaenleh committed Aug 22, 2024
1 parent c129f9a commit 42f48d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/constants/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export const FAILURE_MESSAGES = {
MEMBERSHIP_ALREADY_EXISTS: 'MEMBERSHIP_ALREADY_EXISTS',
MEMBERSHIP_REQUEST_ALREADY_EXISTS: 'MEMBERSHIP_REQUEST_ALREADY_EXISTS',
MEMBERSHIP_REQUEST_NOT_FOUND: 'MEMBERSHIP_REQUEST_NOT_FOUND',
ACCOUNT_NOT_FOUND: 'ACCOUNT_NOT_FOUND',
};

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 @@ -142,5 +142,6 @@
"MEMBERSHIP_REQUEST_ALREADY_EXISTS": "This account has already requested a membership to the provided item.",
"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"
"NOT_A_GUEST": "Your account is not registered as a valid pseudonimized user",
"ACCOUNT_NOT_FOUND": "An account was not found"
}

0 comments on commit 42f48d7

Please sign in to comment.