libguac  0.9.9
error-types.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Glyptodon LLC
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a copy
5  * of this software and associated documentation files (the "Software"), to deal
6  * in the Software without restriction, including without limitation the rights
7  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8  * copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20  * THE SOFTWARE.
21  */
22 
23 #ifndef _GUAC_ERROR_TYPES_H
24 #define _GUAC_ERROR_TYPES_H
25 
35 typedef enum guac_status {
36 
41 
46 
52 
57 
63 
68 
74 
80 
85 
90 
96 
101 
107 
113 
118 
123 
129 
134 
140 
145 
151 
158 
163 
168 
169 } guac_status;
170 
171 #endif
172 
Insufficient memory to complete the operation.
Definition: error-types.h:45
The operation could not be performed because input values are outside the allowed range...
Definition: error-types.h:150
The operation failed because the result could not be stored in the space provided.
Definition: error-types.h:95
The operation failed because the input provided is too large.
Definition: error-types.h:89
The operation failed due to a bug in the software or a serious system problem.
Definition: error-types.h:79
The operation was canceled prior to completion.
Definition: error-types.h:144
The operation failed because too many resources are already in use.
Definition: error-types.h:162
guac_status
Return codes shared by all Guacamole functions which can fail.
Definition: error-types.h:35
The resource associated with the operation can no longer be used as it has reached the end of its nor...
Definition: error-types.h:51
The operation could not be performed because, while the associated resources do exist, they are not currently available for use.
Definition: error-types.h:112
The operation could not be performed because the requested resources do not exist.
Definition: error-types.h:139
The operation could not be performed because an invalid argument was given.
Definition: error-types.h:73
The operation is temporarily unable to be performed, but may succeed if reattempted.
Definition: error-types.h:128
An error occurred, and further information about the error is already stored in errno.
Definition: error-types.h:62
An I/O error prevented the operation from succeeding.
Definition: error-types.h:67
A violation of the Guacamole protocol occurred.
Definition: error-types.h:133
Insufficient space remaining to complete the operation.
Definition: error-types.h:84
The operation could not be performed because access to an underlying resource is explicitly not allow...
Definition: error-types.h:157
The operation was not performed because it would otherwise block.
Definition: error-types.h:167
Support for the requested operation is not yet implemented.
Definition: error-types.h:122
Permission was denied to perform the operation.
Definition: error-types.h:100
The requested operation is not supported.
Definition: error-types.h:117
No errors occurred and the operation was successful.
Definition: error-types.h:40
The operation could not be performed because associated resources are busy.
Definition: error-types.h:106
Time ran out before the operation could complete.
Definition: error-types.h:56