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.

NoMemory1

There was not enough memory to complete an operation.

ServiceUnknown2

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

NameHasNoOwner3

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

NoReply4

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

IoError5

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

BadAddress6

A D-Bus bus address was malformed.

NotSupported7

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

LimitsExceeded8

Some limited resource is exhausted.

AccessDenied9

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

AuthFailed10

Authentication didn't work.

NoServer11

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

Timeout12

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

NoNetwork13

No network access (probably ENETUNREACH on a socket).

AddressInUse14

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.

InvalidArgs16

Invalid arguments passed to a method call.

FileNotFound17

Missing file.

FileExists18

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

UnknownMethod19

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

TimedOut20

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

MatchRuleNotFound21

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

MatchRuleInvalid22

The match rule isn't syntactically valid.

SpawnExecFailed23

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

SpawnForkFailed24

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

SpawnChildExited25

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

SpawnChildSignaled26

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

SpawnFailed27

While starting a new process, something went wrong.

SpawnSetupFailed28

We failed to setup the environment correctly.

SpawnConfigInvalid29

We failed to setup the config parser correctly.

SpawnServiceInvalid30

Bus name was not valid.

SpawnServiceNotFound31

Service file not found in system-services directory.

SpawnPermissionsInvalid32

Permissions are incorrect on the setuid helper.

SpawnFileInvalid33

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

SpawnNoMemory34

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

UnixProcessIdUnknown35

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

InvalidSignature36

A type signature is not valid.

InvalidFileContent37

A file contains invalid syntax or is otherwise broken.

SelinuxSecurityContextUnknown38

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

AdtAuditDataUnknown39

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

ObjectPathInUse40

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

UnknownObject41

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

UnknownInterface42

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

UnknownProperty43

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

PropertyReadOnly44

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