DBusError.registerError

Creates an association to map between dbus_error_name and GErrors specified by error_domain and error_code. This is typically done in the routine that returns the GQuark for an error domain. Since 2.26

class DBusError
static
int
registerError

Parameters

errorDomain GQuark

A GQuark for a error domain.

errorCode int

An error code.

dbusErrorName string

A D-Bus error name.

Return Value

Type: int

TRUE if the association was created, FALSE if it already exists.

Meta