DBusMethodInvocation.returnGerror

Like gio.dbus_method_invocation.DBusMethodInvocation.returnError but takes a #GError instead of the error domain, error code and message.

This method will take ownership of invocation. See #GDBusInterfaceVTable for more information about the ownership of invocation.

class DBusMethodInvocation
void
returnGerror

Parameters

error glib.error.ErrorG

A #GError.