Separate Simple Backend creation from initialization.
[chromium-blink-merge.git] / remoting / webapp / error.js
bloba1e3ab34152631f7110495a19010da7d8d91e054
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 'use strict';
7 /** @suppress {duplicate} */
8 var remoting = remoting || {};
10 /**
11 * @enum {string} All error messages from messages.json
13 remoting.Error = {
14 INVALID_ACCESS_CODE: /*i18n-content*/'ERROR_INVALID_ACCESS_CODE',
15 MISSING_PLUGIN: /*i18n-content*/'ERROR_MISSING_PLUGIN',
16 AUTHENTICATION_FAILED: /*i18n-content*/'ERROR_AUTHENTICATION_FAILED',
17 HOST_IS_OFFLINE: /*i18n-content*/'ERROR_HOST_IS_OFFLINE',
18 INCOMPATIBLE_PROTOCOL: /*i18n-content*/'ERROR_INCOMPATIBLE_PROTOCOL',
19 BAD_PLUGIN_VERSION: /*i18n-content*/'ERROR_BAD_PLUGIN_VERSION',
20 NETWORK_FAILURE: /*i18n-content*/'ERROR_NETWORK_FAILURE',
21 HOST_OVERLOAD: /*i18n-content*/'ERROR_HOST_OVERLOAD',
22 UNEXPECTED: /*i18n-content*/'ERROR_UNEXPECTED',
23 SERVICE_UNAVAILABLE: /*i18n-content*/'ERROR_SERVICE_UNAVAILABLE',
24 NOT_AUTHENTICATED: /*i18n-content*/'ERROR_NOT_AUTHENTICATED',
25 INVALID_HOST_DOMAIN: /*i18n-content*/'ERROR_INVALID_HOST_DOMAIN',
26 P2P_FAILURE: /*i18n-content*/'ERROR_P2P_FAILURE'