Companion
Functions
Creates a D-Bus error name to use for @error. If @error matches a registered error (cf. g_dbus_error_register_error()), the corresponding D-Bus error name will be returned.
Gets the D-Bus error name used for @error, if any.
Checks if @error represents an error received via D-Bus from a remote peer. If so, use g_dbus_error_get_remote_error() to get the name of the error.
Creates a #GError based on the contents of @dbus_error_name and
Creates an association to map between @dbus_error_name and #GErrors specified by @error_domain and @error_code.
Looks for extra information in the error message used to recover the D-Bus error name and strips it if found. If stripped, the message field in @error will correspond exactly to what was received on the wire.
Destroys an association previously set up with g_dbus_error_register_error().