libguac  1.5.0
error-types.h
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15  * KIND, either express or implied. See the License for the
16  * specific language governing permissions and limitations
17  * under the License.
18  */
19 
20 #ifndef _GUAC_ERROR_TYPES_H
21 #define _GUAC_ERROR_TYPES_H
22 
32 typedef enum guac_status {
33 
38 
43 
49 
54 
60 
65 
71 
77 
82 
87 
93 
98 
104 
110 
115 
120 
126 
131 
137 
142 
148 
155 
160 
165 
167 
168 #endif
169 
guac_status
Return codes shared by all Guacamole functions which can fail.
Definition: error-types.h:32
@ GUAC_STATUS_PERMISSION_DENIED
Permission was denied to perform the operation.
Definition: error-types.h:97
@ GUAC_STATUS_SUCCESS
No errors occurred and the operation was successful.
Definition: error-types.h:37
@ GUAC_STATUS_PROTOCOL_ERROR
A violation of the Guacamole protocol occurred.
Definition: error-types.h:130
@ GUAC_STATUS_RESULT_TOO_LARGE
The operation failed because the result could not be stored in the space provided.
Definition: error-types.h:92
@ GUAC_STATUS_WOULD_BLOCK
The operation was not performed because it would otherwise block.
Definition: error-types.h:164
@ GUAC_STATUS_NO_SPACE
Insufficient space remaining to complete the operation.
Definition: error-types.h:81
@ GUAC_STATUS_IO_ERROR
An I/O error prevented the operation from succeeding.
Definition: error-types.h:64
@ GUAC_STATUS_REFUSED
The operation could not be performed because access to an underlying resource is explicitly not allow...
Definition: error-types.h:154
@ GUAC_STATUS_INTERNAL_ERROR
The operation failed due to a bug in the software or a serious system problem.
Definition: error-types.h:76
@ GUAC_STATUS_CANCELED
The operation was canceled prior to completion.
Definition: error-types.h:141
@ GUAC_STATUS_INVALID_ARGUMENT
The operation could not be performed because an invalid argument was given.
Definition: error-types.h:70
@ GUAC_STATUS_TOO_MANY
The operation failed because too many resources are already in use.
Definition: error-types.h:159
@ GUAC_STATUS_OUT_OF_RANGE
The operation could not be performed because input values are outside the allowed range.
Definition: error-types.h:147
@ GUAC_STATUS_NOT_AVAILABLE
The operation could not be performed because, while the associated resources do exist,...
Definition: error-types.h:109
@ GUAC_STATUS_CLOSED
The resource associated with the operation can no longer be used as it has reached the end of its nor...
Definition: error-types.h:48
@ GUAC_STATUS_NOT_INPLEMENTED
Support for the requested operation is not yet implemented.
Definition: error-types.h:119
@ GUAC_STATUS_INPUT_TOO_LARGE
The operation failed because the input provided is too large.
Definition: error-types.h:86
@ GUAC_STATUS_TRY_AGAIN
The operation is temporarily unable to be performed, but may succeed if reattempted.
Definition: error-types.h:125
@ GUAC_STATUS_NO_MEMORY
Insufficient memory to complete the operation.
Definition: error-types.h:42
@ GUAC_STATUS_NOT_SUPPORTED
The requested operation is not supported.
Definition: error-types.h:114
@ GUAC_STATUS_BUSY
The operation could not be performed because associated resources are busy.
Definition: error-types.h:103
@ GUAC_STATUS_TIMEOUT
Time ran out before the operation could complete.
Definition: error-types.h:53
@ GUAC_STATUS_SEE_ERRNO
An error occurred, and further information about the error is already stored in errno.
Definition: error-types.h:59
@ GUAC_STATUS_NOT_FOUND
The operation could not be performed because the requested resources do not exist.
Definition: error-types.h:136