summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/error.js
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/webapp/error.js')
-rw-r--r--remoting/webapp/error.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/remoting/webapp/error.js b/remoting/webapp/error.js
index a1e3ab3..756e3e6 100644
--- a/remoting/webapp/error.js
+++ b/remoting/webapp/error.js
@@ -11,6 +11,11 @@ var remoting = remoting || {};
* @enum {string} All error messages from messages.json
*/
remoting.Error = {
+ // Used to signify that an operation was cancelled by the user. This should
+ // not normally cause the error text to be shown to the user, so the
+ // i18n-content prefix is not needed in this case.
+ CANCELLED: '__CANCELLED__',
+
INVALID_ACCESS_CODE: /*i18n-content*/'ERROR_INVALID_ACCESS_CODE',
MISSING_PLUGIN: /*i18n-content*/'ERROR_MISSING_PLUGIN',
AUTHENTICATION_FAILED: /*i18n-content*/'ERROR_AUTHENTICATION_FAILED',
@@ -23,5 +28,6 @@ remoting.Error = {
SERVICE_UNAVAILABLE: /*i18n-content*/'ERROR_SERVICE_UNAVAILABLE',
NOT_AUTHENTICATED: /*i18n-content*/'ERROR_NOT_AUTHENTICATED',
INVALID_HOST_DOMAIN: /*i18n-content*/'ERROR_INVALID_HOST_DOMAIN',
- P2P_FAILURE: /*i18n-content*/'ERROR_P2P_FAILURE'
+ P2P_FAILURE: /*i18n-content*/'ERROR_P2P_FAILURE',
+ REGISTRATION_FAILED: /*i18n-content*/'ERROR_HOST_REGISTRATION_FAILED'
};