[ GIR ( name = "IOErrorEnum" ) ]
public errordomain IOError
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 g_io_error_failed in cases that were not explicitly distinguished before. You should therefore avoid writing code like
but should instead treat all unrecognized error codes the same as g_io_error_failed.
if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_FAILED))
// Assume that this is EPRINTERONFIRE