DBusError.registerError

bool registerError(glib.types.Quark errorDomain, int errorCode, string dbusErrorName)

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.

Parameters

errorDomainA #GQuark for an error domain.
errorCodeAn error code.
dbusErrorNameA D-Bus error name.

Returns

true if the association was created, false if it already

exists.