Enumeration (GI Enum)

Gio-2.0GioPollableReturnSince 2.60

Return value for various IO operations that signal errors via the return value and not necessarily via a GLib.Error.

This enum exists to be able to return errors to callers without having to allocate a GLib.Error. Allocating GErrors can be quite expensive for regularly happening errors like Gio.IOErrorEnum.WOULD_BLOCK.

In case of Gio.PollableReturn.FAILED a GLib.Error should be set for the operation to give details about the error that happened.

2.60

Index

Enumeration Members

Enumeration Members

FAILED: number

Generic error condition for when an operation fails.

OK: number

The operation was successfully finished.

WOULD_BLOCK: number

The operation would block.