DBusMethodInvocation.returnGerror

void returnGerror(glib.error.ErrorWrap error)

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.

Parameters

errorA #GError.