Module: Gio::IOErrorEnum

Defined in:
(unknown)

Constant Summary collapse

FAILED =

Generic error condition for when an operation fails

and no more specific GIOError::Enum value is defined.
0 or :failed
NOT_FOUND =

File not found.

1 or :not_found
EXISTS =

File already exists.

2 or :exists
IS_DIRECTORY =

File is a directory.

3 or :is_directory
NOT_DIRECTORY =

File is not a directory.

4 or :not_directory
NOT_EMPTY =

File is a directory that isn’t empty.

5 or :not_empty
NOT_REGULAR_FILE =

File is not a regular file.

6 or :not_regular_file
7 or :not_symbolic_link
NOT_MOUNTABLE_FILE =

File cannot be mounted.

8 or :not_mountable_file
FILENAME_TOO_LONG =

Filename is too many characters.

9 or :filename_too_long
INVALID_FILENAME =

Filename is invalid or contains invalid characters.

10 or :invalid_filename
11 or :too_many_links
NO_SPACE =

No space left on drive.

12 or :no_space
INVALID_ARGUMENT =

Invalid argument.

13 or :invalid_argument
PERMISSION_DENIED =

Permission denied.

14 or :permission_denied
NOT_SUPPORTED =

Operation (or one of its parameters) not supported

15 or :not_supported
NOT_MOUNTED =

File isn’t mounted.

16 or :not_mounted
ALREADY_MOUNTED =

File is already mounted.

17 or :already_mounted
CLOSED =

File was closed.

18 or :closed
CANCELLED =

Operation was cancelled. See #GCancellable.

19 or :cancelled
PENDING =

Operations are still pending.

20 or :pending
READ_ONLY =

File is read only.

21 or :read_only
CANT_CREATE_BACKUP =

Backup couldn’t be created.

22 or :cant_create_backup
WRONG_ETAG =

File’s Entity Tag was incorrect.

23 or :wrong_etag
TIMED_OUT =

Operation timed out.

24 or :timed_out
WOULD_RECURSE =

Operation would be recursive.

25 or :would_recurse
BUSY =

File is busy.

26 or :busy
WOULD_BLOCK =

Operation would block.

27 or :would_block
HOST_NOT_FOUND =

Host couldn’t be found (remote operations).

28 or :host_not_found
WOULD_MERGE =

Operation would merge files.

29 or :would_merge
FAILED_HANDLED =

Operation failed and a helper program has

already interacted with the user. Do not display any error dialog.
30 or :failed_handled
TOO_MANY_OPEN_FILES =

The current process has too many files

open and can't open any more. Duplicate descriptors do count toward
this limit. Since 2.20
31 or :too_many_open_files
NOT_INITIALIZED =

The object has not been initialized. Since 2.22

32 or :not_initialized
ADDRESS_IN_USE =

The requested address is already in use. Since 2.22

33 or :address_in_use
PARTIAL_INPUT =

Need more input to finish operation. Since 2.24

34 or :partial_input
INVALID_DATA =

The input data was invalid. Since 2.24

35 or :invalid_data
DBUS_ERROR =

A remote object generated an error that

doesn't correspond to a locally registered #GError error
domain. Use g_dbus_error_get_remote_error() to extract the D-Bus
error name and g_dbus_error_strip_remote_error() to fix up the
message so it matches what was received on the wire. Since 2.26.
36 or :dbus_error
HOST_UNREACHABLE =

Host unreachable. Since 2.26

37 or :host_unreachable
NETWORK_UNREACHABLE =

Network unreachable. Since 2.26

38 or :network_unreachable
CONNECTION_REFUSED =

Connection refused. Since 2.26

39 or :connection_refused
PROXY_FAILED =

Connection to proxy server failed. Since 2.26

40 or :proxy_failed
PROXY_AUTH_FAILED =

Proxy authentication failed. Since 2.26

41 or :proxy_auth_failed
PROXY_NEED_AUTH =

Proxy server needs authentication. Since 2.26

42 or :proxy_need_auth
PROXY_NOT_ALLOWED =

Proxy connection is not allowed by ruleset.

Since 2.26
43 or :proxy_not_allowed
BROKEN_PIPE =

Broken pipe. Since 2.36

44 or :broken_pipe
CONNECTION_CLOSED =

Connection closed by peer. Note that this

is the same code as %G_IO_ERROR_BROKEN_PIPE; before 2.44 some
"connection closed" errors returned %G_IO_ERROR_BROKEN_PIPE, but others
returned %G_IO_ERROR_FAILED. Now they should all return the same
value, which has this more logical name. Since 2.44.
44 or :connection_closed
NOT_CONNECTED =

Transport endpoint is not connected. Since 2.44

45 or :not_connected
MESSAGE_TOO_LARGE =

Message too large. Since 2.48.

46 or :message_too_large