Error codes returned by GIO functions.
Note that this domain may be extended in future GLib releases. In
general, new error codes either only apply to new APIs, or else
replace
IOErrorEnumFailed in cases that were not explicitly
distinguished before. You should therefore avoid writing code like
C code
if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_FAILED))
{
// Assume that this is EPRINTERONFIRE
...
}
but should instead treat all unrecognized error codes the same as
IOErrorEnumFailed.
See also
PollableReturn for a cheaper way of returning
IOErrorEnumWouldBlock to callers without allocating a
GError.