class GLib::FileError

Overview

Values corresponding to @errno codes returned from file operations on UNIX. Unlike @errno codes, 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.

Direct Known Subclasses

Defined in:

lib/gi-crystal/src/auto/g_lib-2.0/g_lib.cr

Instance methods inherited from class GLib::Error

code : Int32 code, domain : String domain, finalize finalize, to_unsafe : Pointer(LibGLib::Error) to_unsafe