get_remote_error
Description:
Gets the D-Bus error name used for error, if any.
This function is guaranteed to return a D-Bus error name for all [type@GLib.Error]s returned from functions handling remote method calls (for
example, [method@Gio.DBusConnection.call_finish]) unless [func@Gio.DBusError.strip_remote_error] has already been used on error.
Parameters:
| error |
an error |
Returns:
|
an allocated string, or `NULL` if the D-Bus error name could not be found |