DBusMethodInvocation.returnErrorValist

Like g_dbus_method_invocation_return_error() but intended for language bindings.

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

class DBusMethodInvocation
void
returnErrorValist
(,
int code
,
string format
,
void* varArgs
)

Parameters

domain GQuark

A GQuark for the GError error domain.

code int

The error code.

format string

printf()-style format.

varArgs void*

va_list of parameters for format.

Meta

Since

2.26