GIO Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <gio/gio.h> #define G_IO_ERROR enum GIOErrorEnum; GIOErrorEnum g_io_error_from_errno (gint err_no);
#define G_IO_ERROR g_io_error_quark()
Error domain for GIO. Errors in this domain will be from the GIOErrorEnum enumeration. See GError for more information on error domains.
typedef enum { G_IO_ERROR_FAILED, G_IO_ERROR_NOT_FOUND, G_IO_ERROR_EXISTS, G_IO_ERROR_IS_DIRECTORY, G_IO_ERROR_NOT_DIRECTORY, G_IO_ERROR_NOT_EMPTY, G_IO_ERROR_NOT_REGULAR_FILE, G_IO_ERROR_NOT_SYMBOLIC_LINK, G_IO_ERROR_NOT_MOUNTABLE_FILE, G_IO_ERROR_FILENAME_TOO_LONG, G_IO_ERROR_INVALID_FILENAME, G_IO_ERROR_TOO_MANY_LINKS, G_IO_ERROR_NO_SPACE, G_IO_ERROR_INVALID_ARGUMENT, G_IO_ERROR_PERMISSION_DENIED, G_IO_ERROR_NOT_SUPPORTED, G_IO_ERROR_NOT_MOUNTED, G_IO_ERROR_ALREADY_MOUNTED, G_IO_ERROR_CLOSED, G_IO_ERROR_CANCELLED, G_IO_ERROR_PENDING, G_IO_ERROR_READ_ONLY, G_IO_ERROR_CANT_CREATE_BACKUP, G_IO_ERROR_WRONG_ETAG, G_IO_ERROR_TIMED_OUT, G_IO_ERROR_WOULD_RECURSE, G_IO_ERROR_BUSY, G_IO_ERROR_WOULD_BLOCK, G_IO_ERROR_HOST_NOT_FOUND, G_IO_ERROR_WOULD_MERGE, G_IO_ERROR_FAILED_HANDLED, G_IO_ERROR_TOO_MANY_OPEN_FILES } GIOErrorEnum;
Error codes returned by GIO functions.
Generic error condition for when any operation fails. | |
File not found error. | |
File already exists error. | |
File is a directory error. | |
File is not a directory. | |
File is a directory that isn't empty. | |
File is not a regular file. | |
File is not a symbolic link. | |
File cannot be mounted. | |
Filename is too many characters. | |
Filename is invalid or contains invalid characters. | |
File contains too many symbolic links. | |
No space left on drive. | |
Invalid argument. | |
Permission denied. | |
Operation not supported for the current backend. | |
File isn't mounted. | |
File is already mounted. | |
File was closed. | |
Operation was cancelled. See GCancellable. | |
Operations are still pending. | |
File is read only. | |
Backup couldn't be created. | |
File's Entity Tag was incorrect. | |
Operation timed out. | |
Operation would be recursive. | |
File is busy. | |
Operation would block. | |
Host couldn't be found (remote operations). | |
Operation would merge files. | |
Operation failed and a helper program has already interacted with the user. Do not display any error dialog. | |
The current process has too many files open and can't open any more. Duplicate descriptors do count toward this limit. Since 2.20 |
GIOErrorEnum g_io_error_from_errno (gint err_no);
Converts errno.h error codes into GIO error codes.
|
Error number as defined in errno.h. |
Returns : |
GIOErrorEnum value for the given errno.h error number. |