Package org.gnome.gio

Enum Class PollableReturn

java.lang.Object
java.lang.Enum<PollableReturn>
org.gnome.gio.PollableReturn
All Implemented Interfaces:
Enumeration, Serializable, Comparable<PollableReturn>, Constable

@Generated("io.github.jwharm.JavaGI") public enum PollableReturn extends Enum<PollableReturn> implements Enumeration
Return value for various IO operations that signal errors via the return value and not necessarily via a GError.

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

In case of FAILED a GError should be set for the operation to give details about the error that happened.