Module: Gio::DBusError

Defined in:
(unknown)

Constant Summary collapse

FAILED =

A generic error; “something went wrong” - see the error message for more.

0 or :failed
NO_MEMORY =

There was not enough memory to complete an operation.

1 or :no_memory
SERVICE_UNKNOWN =

The bus doesn’t know how to launch a service to supply the bus name you wanted.

2 or :service_unknown
NAME_HAS_NO_OWNER =

The bus name you referenced doesn’t exist (i.e. no application owns it).

3 or :name_has_no_owner
NO_REPLY =

No reply to a message expecting one, usually means a timeout occurred.

4 or :no_reply
IO_ERROR =

Something went wrong reading or writing to a socket, for example.

5 or :io_error
BAD_ADDRESS =

A D-Bus bus address was malformed.

6 or :bad_address
NOT_SUPPORTED =

Requested operation isn’t supported (like ENOSYS on UNIX).

7 or :not_supported
LIMITS_EXCEEDED =

Some limited resource is exhausted.

8 or :limits_exceeded
ACCESS_DENIED =

Security restrictions don’t allow doing what you’re trying to do.

9 or :access_denied
AUTH_FAILED =

Authentication didn’t work.

10 or :auth_failed
NO_SERVER =

Unable to connect to server (probably caused by ECONNREFUSED on a socket).

11 or :no_server
TIMEOUT =

Certain timeout errors, possibly ETIMEDOUT on a socket. Note that %G_DBUS_ERROR_NO_REPLY is used for message reply timeouts. Warning: this is confusingly-named given that %G_DBUS_ERROR_TIMED_OUT also exists. We can’t fix it for compatibility reasons so just be careful.

12 or :timeout
NO_NETWORK =

No network access (probably ENETUNREACH on a socket).

13 or :no_network
ADDRESS_IN_USE =

Can’t bind a socket since its address is in use (i.e. EADDRINUSE).

14 or :address_in_use
DISCONNECTED =

The connection is disconnected and you’re trying to use it.

15 or :disconnected
INVALID_ARGS =

Invalid arguments passed to a method call.

16 or :invalid_args
FILE_NOT_FOUND =

Missing file.

17 or :file_not_found
FILE_EXISTS =

Existing file and the operation you’re using does not silently overwrite.

18 or :file_exists
UNKNOWN_METHOD =

Method name you invoked isn’t known by the object you invoked it on.

19 or :unknown_method
TIMED_OUT =

Certain timeout errors, e.g. while starting a service. Warning: this is confusingly-named given that %G_DBUS_ERROR_TIMEOUT also exists. We can’t fix it for compatibility reasons so just be careful.

20 or :timed_out
MATCH_RULE_NOT_FOUND =

Tried to remove or modify a match rule that didn’t exist.

21 or :match_rule_not_found
MATCH_RULE_INVALID =

The match rule isn’t syntactically valid.

22 or :match_rule_invalid
SPAWN_EXEC_FAILED =

While starting a new process, the exec() call failed.

23 or :spawn_exec_failed
SPAWN_FORK_FAILED =

While starting a new process, the fork() call failed.

24 or :spawn_fork_failed
SPAWN_CHILD_EXITED =

While starting a new process, the child exited with a status code.

25 or :spawn_child_exited
SPAWN_CHILD_SIGNALED =

While starting a new process, the child exited on a signal.

26 or :spawn_child_signaled
SPAWN_FAILED =

While starting a new process, something went wrong.

27 or :spawn_failed
SPAWN_SETUP_FAILED =

We failed to setup the environment correctly.

28 or :spawn_setup_failed
SPAWN_CONFIG_INVALID =

We failed to setup the config parser correctly.

29 or :spawn_config_invalid
SPAWN_SERVICE_INVALID =

Bus name was not valid.

30 or :spawn_service_invalid
SPAWN_SERVICE_NOT_FOUND =

Service file not found in system-services directory.

31 or :spawn_service_not_found
SPAWN_PERMISSIONS_INVALID =

Permissions are incorrect on the setuid helper.

32 or :spawn_permissions_invalid
SPAWN_FILE_INVALID =

Service file invalid (Name, User or Exec missing).

33 or :spawn_file_invalid
SPAWN_NO_MEMORY =

Tried to get a UNIX process ID and it wasn’t available.

34 or :spawn_no_memory
UNIX_PROCESS_ID_UNKNOWN =

Tried to get a UNIX process ID and it wasn’t available.

35 or :unix_process_id_unknown
INVALID_SIGNATURE =

A type signature is not valid.

36 or :invalid_signature
INVALID_FILE_CONTENT =

A file contains invalid syntax or is otherwise broken.

37 or :invalid_file_content
SELINUX_SECURITY_CONTEXT_UNKNOWN =

Asked for SELinux security context and it wasn’t available.

38 or :selinux_security_context_unknown
ADT_AUDIT_DATA_UNKNOWN =

Asked for ADT audit data and it wasn’t available.

39 or :adt_audit_data_unknown
OBJECT_PATH_IN_USE =

There’s already an object with the requested object path.

40 or :object_path_in_use
UNKNOWN_OBJECT =

Object you invoked a method on isn’t known. Since 2.42

41 or :unknown_object
UNKNOWN_INTERFACE =

Interface you invoked a method on isn’t known by the object. Since 2.42

42 or :unknown_interface
UNKNOWN_PROPERTY =

Property you tried to access isn’t known by the object. Since 2.42

43 or :unknown_property
PROPERTY_READ_ONLY =

Property you tried to set is read-only. Since 2.42

44 or :property_read_only