Gets the D-Bus error name used for error, if any.
This function is guaranteed to return a D-Bus error name for all GErrors returned from functions handling remote method calls (e.g. g_dbus_connection_call_finish()) unless g_dbus_error_strip_remote_error() has been used on error.
a GError
an allocated string or NULL if the D-Bus error name could not be found. Free with g_free().
2.26
Gets the D-Bus error name used for error, if any.
This function is guaranteed to return a D-Bus error name for all GErrors returned from functions handling remote method calls (e.g. g_dbus_connection_call_finish()) unless g_dbus_error_strip_remote_error() has been used on error.