UNPKG

1.71 kBJavaScriptView Raw
1/**
2 * All client error codes handled and passed off for translation. Any error
3 * code not present in this list will be represented by the "DEFAULT"
4 * translation.
5 */
6var ERRORS = {
7 512: { reconnect: true, message: 'An internal error occurred, and the operation could not be performed.' },
8 513: { reconnect: false, message: 'An internal error occurred, and the operation could not be performed.' },
9 514: { reconnect: true, message: 'The upstream server is not responding. In most cases, the upstream server is the remote desktop server.' },
10 515: { reconnect: true, message: 'The upstream server encountered an error. In most cases, the upstream server is the remote desktop server.' },
11 516: { reconnect: false, message: 'An associated resource, such as a file or stream, could not be found, and thus the operation failed.' },
12 517: { reconnect: false, message: 'A resource is already in use or locked, preventing the requested operation.' },
13 768: { reconnect: false, message: 'The parameters of the request are illegal or otherwise invalid.' },
14 769: { reconnect: true, message: 'Permission was denied, because the user is not logged in. Note that the user may be logged into Guacamole, but still not logged in with respect to the remote desktop server.' },
15 771: { reconnect: false, message: 'Permission was denied, and logging in will not solve the problem.' },
16 776: { reconnect: true, message: 'The client (usually the user of Guacamole or their browser) is taking too long to respond.' },
17 797: { reconnect: false, message: 'The client is already using too many resources. Existing resources must be freed before further requests are allowed' }
18}
19
20export default{
21 ERRORS: ERRORS
22}