If error matches a registered error (see
Gio.DBusError.register_error), the corresponding D-Bus error name
will be returned.
Otherwise the a name of the form
org.gtk.GDBus.UnmappedGError.Quark._ESCAPED_QUARK_NAME.Code_ERROR_CODE
will be used. This allows other GDBus applications to map the error
on the wire back to a GLib.Error using
Gio.DBusError.new_for_dbus_error.
This function is typically only used in object mappings to put a
GLib.Error on the wire. Regular applications should not use it.
Creates a D-Bus error name to use for
error.If
errormatches a registered error (see Gio.DBusError.register_error), the corresponding D-Bus error name will be returned.Otherwise the a name of the form
org.gtk.GDBus.UnmappedGError.Quark._ESCAPED_QUARK_NAME.Code_ERROR_CODEwill be used. This allows other GDBus applications to map the error on the wire back to a GLib.Error using Gio.DBusError.new_for_dbus_error.This function is typically only used in object mappings to put a GLib.Error on the wire. Regular applications should not use it.