IOErrorEnum#

class IOErrorEnum#

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 FAILED in cases that were not explicitly distinguished before. You should therefore avoid writing code like

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 FAILED.

See also PollableReturn for a cheaper way of returning WOULD_BLOCK to callers without allocating a Error.

Fields#

class IOErrorEnum
ADDRESS_IN_USE#

The type of the None singleton.

ALREADY_MOUNTED#

The type of the None singleton.

BROKEN_PIPE#

The type of the None singleton.

BUSY#

The type of the None singleton.

CANCELLED#

The type of the None singleton.

CANT_CREATE_BACKUP#

The type of the None singleton.

CLOSED#

The type of the None singleton.

CONNECTION_CLOSED#

The type of the None singleton.

CONNECTION_REFUSED#

The type of the None singleton.

DBUS_ERROR#

The type of the None singleton.

DESTINATION_UNSET#

The type of the None singleton.

EXISTS#

The type of the None singleton.

FAILED#

The type of the None singleton.

FAILED_HANDLED#

The type of the None singleton.

FILENAME_TOO_LONG#

The type of the None singleton.

HOST_NOT_FOUND#

The type of the None singleton.

HOST_UNREACHABLE#

The type of the None singleton.

INVALID_ARGUMENT#

The type of the None singleton.

INVALID_DATA#

The type of the None singleton.

INVALID_FILENAME#

The type of the None singleton.

IS_DIRECTORY#

The type of the None singleton.

MESSAGE_TOO_LARGE#

The type of the None singleton.

NETWORK_UNREACHABLE#

The type of the None singleton.

NOT_CONNECTED#

The type of the None singleton.

NOT_DIRECTORY#

The type of the None singleton.

NOT_EMPTY#

The type of the None singleton.

NOT_FOUND#

The type of the None singleton.

NOT_INITIALIZED#

The type of the None singleton.

NOT_MOUNTABLE_FILE#

The type of the None singleton.

NOT_MOUNTED#

The type of the None singleton.

NOT_REGULAR_FILE#

The type of the None singleton.

NOT_SUPPORTED#

The type of the None singleton.

The type of the None singleton.

NO_SPACE#

The type of the None singleton.

NO_SUCH_DEVICE#

The type of the None singleton.

PARTIAL_INPUT#

The type of the None singleton.

PENDING#

The type of the None singleton.

PERMISSION_DENIED#

The type of the None singleton.

PROXY_AUTH_FAILED#

The type of the None singleton.

PROXY_FAILED#

The type of the None singleton.

PROXY_NEED_AUTH#

The type of the None singleton.

PROXY_NOT_ALLOWED#

The type of the None singleton.

READ_ONLY#

The type of the None singleton.

TIMED_OUT#

The type of the None singleton.

The type of the None singleton.

TOO_MANY_OPEN_FILES#

The type of the None singleton.

WOULD_BLOCK#

The type of the None singleton.

WOULD_MERGE#

The type of the None singleton.

WOULD_RECURSE#

The type of the None singleton.

WRONG_ETAG#

The type of the None singleton.