Gio.DBusError.register_error_domain

function register_error_domain(error_domain_quark_name: String, quark_volatile: Number(gsize), entries: Gio.DBusErrorEntry, num_entries: Number(guint)): void {
    // Gjs wrapper for g_dbus_error_register_error_domain()
}
  

Helper function for associating a GLib.Error error domain with D-Bus error names.

Since 2.26

error_domain_quark_name

The error domain name.

quark_volatile

A pointer where to store the GLib.Quark.

entries

A pointer to num_entries Gio.DBusErrorEntry struct items.

num_entries

Number of items to register.