:right-sidebar: True IOErrorEnum =================================================================== .. currentmodule:: gi.repository.Gio .. class:: IOErrorEnum :no-contents-entry: 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 :const:`~gi.repository.Gio.IOErrorEnum.FAILED` in cases that were not explicitly distinguished before. You should therefore avoid writing code like .. code-block:: C :dedent: 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 :const:`~gi.repository.Gio.IOErrorEnum.FAILED`. See also :obj:`~gi.repository.Gio.PollableReturn` for a cheaper way of returning :const:`~gi.repository.Gio.IOErrorEnum.WOULD_BLOCK` to callers without allocating a :obj:`~gi.repository.GLib.Error`\. Fields ------ .. rst-class:: interim-class .. class:: IOErrorEnum :no-index: .. attribute:: ADDRESS_IN_USE The type of the None singleton. .. attribute:: ALREADY_MOUNTED The type of the None singleton. .. attribute:: BROKEN_PIPE The type of the None singleton. .. attribute:: BUSY The type of the None singleton. .. attribute:: CANCELLED The type of the None singleton. .. attribute:: CANT_CREATE_BACKUP The type of the None singleton. .. attribute:: CLOSED The type of the None singleton. .. attribute:: CONNECTION_CLOSED The type of the None singleton. .. attribute:: CONNECTION_REFUSED The type of the None singleton. .. attribute:: DBUS_ERROR The type of the None singleton. .. attribute:: DESTINATION_UNSET The type of the None singleton. .. attribute:: EXISTS The type of the None singleton. .. attribute:: FAILED The type of the None singleton. .. attribute:: FAILED_HANDLED The type of the None singleton. .. attribute:: FILENAME_TOO_LONG The type of the None singleton. .. attribute:: HOST_NOT_FOUND The type of the None singleton. .. attribute:: HOST_UNREACHABLE The type of the None singleton. .. attribute:: INVALID_ARGUMENT The type of the None singleton. .. attribute:: INVALID_DATA The type of the None singleton. .. attribute:: INVALID_FILENAME The type of the None singleton. .. attribute:: IS_DIRECTORY The type of the None singleton. .. attribute:: MESSAGE_TOO_LARGE The type of the None singleton. .. attribute:: NETWORK_UNREACHABLE The type of the None singleton. .. attribute:: NOT_CONNECTED The type of the None singleton. .. attribute:: NOT_DIRECTORY The type of the None singleton. .. attribute:: NOT_EMPTY The type of the None singleton. .. attribute:: NOT_FOUND The type of the None singleton. .. attribute:: NOT_INITIALIZED The type of the None singleton. .. attribute:: NOT_MOUNTABLE_FILE The type of the None singleton. .. attribute:: NOT_MOUNTED The type of the None singleton. .. attribute:: NOT_REGULAR_FILE The type of the None singleton. .. attribute:: NOT_SUPPORTED The type of the None singleton. .. attribute:: NOT_SYMBOLIC_LINK The type of the None singleton. .. attribute:: NO_SPACE The type of the None singleton. .. attribute:: NO_SUCH_DEVICE The type of the None singleton. .. attribute:: PARTIAL_INPUT The type of the None singleton. .. attribute:: PENDING The type of the None singleton. .. attribute:: PERMISSION_DENIED The type of the None singleton. .. attribute:: PROXY_AUTH_FAILED The type of the None singleton. .. attribute:: PROXY_FAILED The type of the None singleton. .. attribute:: PROXY_NEED_AUTH The type of the None singleton. .. attribute:: PROXY_NOT_ALLOWED The type of the None singleton. .. attribute:: READ_ONLY The type of the None singleton. .. attribute:: TIMED_OUT The type of the None singleton. .. attribute:: TOO_MANY_LINKS The type of the None singleton. .. attribute:: TOO_MANY_OPEN_FILES The type of the None singleton. .. attribute:: WOULD_BLOCK The type of the None singleton. .. attribute:: WOULD_MERGE The type of the None singleton. .. attribute:: WOULD_RECURSE The type of the None singleton. .. attribute:: WRONG_ETAG The type of the None singleton.