GDBusError

Error codes for the G_DBUS_ERROR error domain.

Values

ValueMeaning
FAILED0

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

NO_MEMORY1

There was not enough memory to complete an operation.

SERVICE_UNKNOWN2

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

NAME_HAS_NO_OWNER3

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

NO_REPLY4

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

IO_ERROR5

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

BAD_ADDRESS6

A D-Bus bus address was malformed.

NOT_SUPPORTED7

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

LIMITS_EXCEEDED8

Some limited resource is exhausted.

ACCESS_DENIED9

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

AUTH_FAILED10

Authentication didn't work.

NO_SERVER11

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

TIMEOUT12

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.

NO_NETWORK13

No network access (probably ENETUNREACH on a socket).

ADDRESS_IN_USE14

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

DISCONNECTED15

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

INVALID_ARGS16

Invalid arguments passed to a method call.

FILE_NOT_FOUND17

Missing file.

FILE_EXISTS18

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

UNKNOWN_METHOD19

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

TIMED_OUT20

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.

MATCH_RULE_NOT_FOUND21

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

MATCH_RULE_INVALID22

The match rule isn't syntactically valid.

SPAWN_EXEC_FAILED23

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

SPAWN_FORK_FAILED24

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

SPAWN_CHILD_EXITED25

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

SPAWN_CHILD_SIGNALED26

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

SPAWN_FAILED27

While starting a new process, something went wrong.

SPAWN_SETUP_FAILED28

We failed to setup the environment correctly.

SPAWN_CONFIG_INVALID29

We failed to setup the config parser correctly.

SPAWN_SERVICE_INVALID30

Bus name was not valid.

SPAWN_SERVICE_NOT_FOUND31

Service file not found in system-services directory.

SPAWN_PERMISSIONS_INVALID32

Permissions are incorrect on the setuid helper.

SPAWN_FILE_INVALID33

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

SPAWN_NO_MEMORY34

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

UNIX_PROCESS_ID_UNKNOWN35

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

INVALID_SIGNATURE36

A type signature is not valid.

INVALID_FILE_CONTENT37

A file contains invalid syntax or is otherwise broken.

SELINUX_SECURITY_CONTEXT_UNKNOWN38

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

ADT_AUDIT_DATA_UNKNOWN39

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

OBJECT_PATH_IN_USE40

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

UNKNOWN_OBJECT41

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

UNKNOWN_INTERFACE42

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

UNKNOWN_PROPERTY43

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

PROPERTY_READ_ONLY44

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

Meta

Since

2.26