-
Notifications
You must be signed in to change notification settings - Fork 76
/
constants.js
18 lines (18 loc) · 913 Bytes
/
constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// constants.js
module.exports = {
ERROR_LOGIN_REQUIRED: "You must login first!",
ERROR_NO_PERMISSION: "You don't have permission for this.",
ERROR_NOT_AUTHOR: "You are not the Author of this!",
ERROR_FETCH_LISTINGS: "Error occured!. Please try again later.",
ERROR_CREATE_LISTING: "Failed to create new listing!",
ERROR_LOAD_EDIT_PAGE: "Failed to load edit page!",
ERROR_LOAD_LISTING_DETAILS: "Failed to load listing details!",
ERROR_UPDATE_LISTING: "Failed to update listing!",
ERROR_DELETE_LISTING: "Failed to delete listing!",
ERROR_LISTING_NOT_FOUND: "Listing does't Exist!",
ERROR_SEND_VALID_DATA: "Listing object not found!",
SUCCESS_LISTING_CREATED: "New listing created successfully.",
SUCCESS_LISTING_UPDATED: "Listing Updated Successfully!",
SUCCESS_LISTING_DELETED: "Listing deleted successfully!",
SUCCESS_REVIEW_ADDED: "Review Created!"
};