Gets a GLib.FileError constant based on the passed-in err_no.
For example, if you pass in EEXIST this function returns
GLib.FileError.EXIST. Unlike errno values, you can portably
assume that all GLib.FileError values will exist.
Normally a GLib.FileError value goes into a GLib.Error returned
from a function that manipulates files. So you would use
g_file_error_from_errno() when constructing a GLib.Error.
Gets a GLib.FileError constant based on the passed-in
err_no.For example, if you pass in
EEXISTthis function returns GLib.FileError.EXIST. Unlikeerrnovalues, you can portably assume that all GLib.FileError values will exist.Normally a GLib.FileError value goes into a GLib.Error returned from a function that manipulates files. So you would use
g_file_error_from_errno()when constructing a GLib.Error.