summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2017-09-05 17:40:35 -0400
committerJoram Wilander <jwawilander@gmail.com>2017-09-05 17:40:35 -0400
commite30e4cfe3d787e2528419b0d17973eb0fc162d56 (patch)
tree8b6e989dccfe7308786167c0767f4699f28841ae /webapp/utils
parent6ca443a2556e5d4bade9a9ef7d6d877bf1d6fc45 (diff)
downloadchat-e30e4cfe3d787e2528419b0d17973eb0fc162d56.tar.gz
chat-e30e4cfe3d787e2528419b0d17973eb0fc162d56.tar.bz2
chat-e30e4cfe3d787e2528419b0d17973eb0fc162d56.zip
PLT-7468 Moved more error pages to use predefined error types (#7378)
* PLT-7468 Moved more errors to use error types * PLT-7468 Moved 404 error page to use error types * Made helper function for rendering external links on error page
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/constants.jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index 858ea6bbf..0741299fd 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -303,7 +303,10 @@ export const StatTypes = keyMirror({
});
export const ErrorPageTypes = {
- LOCAL_STORAGE: 'local_storage'
+ LOCAL_STORAGE: 'local_storage',
+ OAUTH_MISSING_CODE: 'oauth_missing_code',
+ PAGE_NOT_FOUND: 'page_not_found',
+ PERMALINK_NOT_FOUND: 'permalink_not_found'
};
export const JobTypes = {