GLib.IOChannel.error_from_errno
function error_from_errno(en: Number(gint)): GLib.IOChannelError {
// Gjs wrapper for g_io_channel_error_from_errno()
}
Converts an `errno` error number to a GLib.IOChannelError.
- en
an `errno` error number, e.g. `EINVAL`
- Returns
a GLib.IOChannelError error number, e.g. GLib.IOChannelError.inval.