dbus_error_to_gerror


Description:

[ Version ( since = "0.7.24" ) ]
public void dbus_error_to_gerror (string dbus_error, string debug_message) throws Error

Convert a D-Bus error name into a GError as if it was returned by a method on this proxy.

This method is useful when D-Bus error names are emitted in signals, such as Connection.ConnectionError and Group.MembersChangedDetailed.

Parameters:

this

a Proxy or subclass

dbus_error

a D-Bus error name, for instance from the callback for tp_cli_connection_connect_to_connection_error

debug_message

a debug message that accompanied the error name, or null