DBusError

Error codes for the %G_DBUS_ERROR error domain.

Since

2.26

Entries

Link copied to clipboard

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

Link copied to clipboard

There was not enough memory to complete an operation.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

A D-Bus bus address was malformed.

Link copied to clipboard

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

Link copied to clipboard

Some limited resource is exhausted.

Link copied to clipboard

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

Link copied to clipboard

Authentication didn't work.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

No network access (probably ENETUNREACH on a socket).

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Invalid arguments passed to a method call.

Link copied to clipboard

Missing file.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

The match rule isn't syntactically valid.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

While starting a new process, something went wrong.

Link copied to clipboard

We failed to setup the environment correctly.

Link copied to clipboard

We failed to setup the config parser correctly.

Link copied to clipboard

Bus name was not valid.

Link copied to clipboard

Service file not found in system-services directory.

Link copied to clipboard

Permissions are incorrect on the setuid helper.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

A type signature is not valid.

Link copied to clipboard

A file contains invalid syntax or is otherwise broken.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): DBusError

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.