display upload errors, unknown members
This commit is contained in:
@@ -11,6 +11,11 @@ const csvParserErrors = {
|
||||
UNKNOWN_COLUMN: 'Unknown column',
|
||||
INVALID_ENTRY_EXPECTED_USER: 'Invalid entry type. Expected user entry type',
|
||||
INVALID_ENTRY_EXPECTED_PASSAGE_MODE: 'Invalid entry type. Expected enable/disable passage mode',
|
||||
UNKNOWN_MEMBER: 'Member is not registered in OfficeRnD system',
|
||||
};
|
||||
|
||||
const officeRnDAPIErrors = {
|
||||
FAILED_TO_FETCH_MEMBERS: 'Failed to fetch members',
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
@@ -21,4 +26,5 @@ module.exports = {
|
||||
USER_LOCKED_DOOR,
|
||||
USER_UNLOCKED_DOOR,
|
||||
csvParserErrors,
|
||||
officeRnDAPIErrors,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user