takeError

open fun takeError(error: <Error class: unknown class>)

Like g_dbus_method_invocation_return_gerror() but takes ownership of @error so the caller does not need to free it.

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

Since

2.30

Parameters

error

A #GError.