Gio.DBusError

Error codes for the %G_DBUS_ERROR error domain.

Since 2.26

DBusError.FAILED

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

DBusError.NO_MEMORY

There was not enough memory to complete an operation.

DBusError.SERVICE_UNKNOWN

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

DBusError.NAME_HAS_NO_OWNER

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

DBusError.NO_REPLY

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

DBusError.IO_ERROR

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

DBusError.BAD_ADDRESS

A D-Bus bus address was malformed.

DBusError.NOT_SUPPORTED

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

DBusError.LIMITS_EXCEEDED

Some limited resource is exhausted.

DBusError.ACCESS_DENIED

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

DBusError.AUTH_FAILED

Authentication didn't work.

DBusError.NO_SERVER

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

DBusError.TIMEOUT

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

DBusError.NO_NETWORK

No network access (probably ENETUNREACH on a socket).

DBusError.ADDRESS_IN_USE

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

DBusError.DISCONNECTED

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

DBusError.INVALID_ARGS

Invalid arguments passed to a method call.

DBusError.FILE_NOT_FOUND

Missing file.

DBusError.FILE_EXISTS

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

DBusError.UNKNOWN_METHOD

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

DBusError.TIMED_OUT

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

DBusError.MATCH_RULE_NOT_FOUND

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

DBusError.MATCH_RULE_INVALID

The match rule isn't syntactically valid.

DBusError.SPAWN_EXEC_FAILED

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

DBusError.SPAWN_FORK_FAILED

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

DBusError.SPAWN_CHILD_EXITED

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

DBusError.SPAWN_CHILD_SIGNALED

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

DBusError.SPAWN_FAILED

While starting a new process, something went wrong.

DBusError.SPAWN_SETUP_FAILED

We failed to setup the environment correctly.

DBusError.SPAWN_CONFIG_INVALID

We failed to setup the config parser correctly.

DBusError.SPAWN_SERVICE_INVALID

Bus name was not valid.

DBusError.SPAWN_SERVICE_NOT_FOUND

Service file not found in system-services directory.

DBusError.SPAWN_PERMISSIONS_INVALID

Permissions are incorrect on the setuid helper.

DBusError.SPAWN_FILE_INVALID

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

DBusError.SPAWN_NO_MEMORY

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

DBusError.UNIX_PROCESS_ID_UNKNOWN

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

DBusError.INVALID_SIGNATURE

A type signature is not valid.

DBusError.INVALID_FILE_CONTENT

A file contains invalid syntax or is otherwise broken.

DBusError.SELINUX_SECURITY_CONTEXT_UNKNOWN

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

DBusError.ADT_AUDIT_DATA_UNKNOWN

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

DBusError.OBJECT_PATH_IN_USE

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