Static$gtypeStaticACCESPermission denied; the file permissions do not allow the attempted operation.
StaticAGAINResource temporarily unavailable; the call might work if you try again later.
StaticBADFBad file descriptor; for example, I/O on a descriptor that has been closed or reading from a descriptor open only for writing (or vice versa).
StaticEXISTOperation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation.
StaticFAILEDDoes not correspond to a UNIX error code; this is the standard "failed for unspecified reason" error code present in all GLib.Error error code enumerations. Returned if no specific code applies.
StaticFAULTYou passed in a pointer to bad memory. (GLib won't reliably return this, don't pass in pointers to bad memory.)
StaticINTRInterrupted function call; an asynchronous signal occurred and prevented completion of the call. When this happens, you should try the call again.
StaticINVALInvalid argument. This is used to indicate various kinds of problems with passing the wrong argument to a library function.
StaticIOInput/output error; usually used for physical read or write errors. i.e. the disk or other physical device hardware is returning errors.
StaticISDIRFile is a directory; you cannot open a directory for writing, or create or remove hard links to it.
StaticLOOPToo many levels of symbolic links were encountered in looking up a file name. This often indicates a cycle of symbolic links.
StaticMFILEThe current process has too many files open and can't open any more. Duplicate descriptors do count toward this limit.
StaticNAMETOOLONGFilename too long.
StaticNFILEThere are too many distinct file openings in the entire system.
StaticNODEVThe underlying file system of the specified file does not support memory mapping.
StaticNOENTNo such file or directory. This is a "file doesn't exist" error for ordinary files that are referenced in contexts where they are expected to already exist.
StaticNOMEMNo memory available. The system cannot allocate more virtual memory because its capacity is full.
StaticNOSPCNo space left on device; write operation on a file failed because the disk is full.
StaticNOSYSFunction not implemented; this indicates that the system is missing some functionality.
StaticNOTDIRA file that isn't a directory was specified when a directory is required.
StaticNXIONo such device or address. The system tried to use the device represented by a file you specified, and it couldn't find the device. This can mean that the device file was installed incorrectly, or that the physical device is missing or not correctly attached to the computer.
StaticPERMOperation not permitted; only the owner of the file (or other resource) or processes with special privileges can perform the operation.
StaticPIPEBroken pipe; there is no process reading from the other end of a pipe. Every library function that returns this error code also generates a 'SIGPIPE' signal; this signal terminates the program if not handled or blocked. Thus, your program will never actually see this code unless it has handled or blocked 'SIGPIPE'.
StaticROFSThe directory containing the new link can't be modified because it's on a read-only file system.
StaticTXTBSYText file busy.
Frees a GLib.Error and associated resources.
Returns true if error matches domain and code, false
otherwise. In particular, when error is null, false will
be returned.
If domain contains a FAILED (or otherwise generic) error code,
you should generally not check for it explicitly, but should
instead treat any not-explicitly-recognized error code as being
equivalent to the FAILED code. This way, if the domain is
extended in the future to provide a more specific error code for
a certain case, your code will still work.
whether error has domain and code
Staticdomain_This function registers an extended GLib.Error domain.
error_type_name will be duplicated. Otherwise does the same as
g_error_domain_register_static().
string to create a GLib.Quark from
size of the private error data in bytes
function initializing fields of the private error data
function copying fields of the private error data
function freeing fields of the private error data
Staticdomain_This function registers an extended GLib.Error domain.
error_type_name should not be freed. error_type_private_size must
be greater than 0.
error_type_init receives an initialized GLib.Error and should then initialize
the private data.
error_type_copy is a function that receives both original and a copy
GLib.Error and should copy the fields of the private error data. The standard
GLib.Error fields are already handled.
error_type_clear receives the pointer to the error, and it should free the
fields of the private error data. It should not free the struct itself though.
Normally, it is better to use G_DEFINE_EXTENDED_ERROR(), as it already takes care of passing valid information to this function.
static string to create a GLib.Quark from
size of the private error data in bytes
function initializing fields of the private error data
function copying fields of the private error data
function freeing fields of the private error data
Staticnew_
Values corresponding to
errnocodes returned from file operations on UNIX. Unlikeerrnocodes, GFileError values are available on all systems, even Windows. The exact meaning of each code depends on what sort of file operation you were performing; the UNIX documentation gives more details. The following error code descriptions come from the GNU C Library manual, and are under the copyright of that manual.It's not very portable to make detailed assumptions about exactly which errors will be returned from a given operation. Some errors don't occur on some systems, etc., sometimes there are subtle differences in when a system will report a given error, etc.