DBusMethodInvocation.returnErrorValist

Like g_dbus_method_invocation_return_error() but intended for language bindings.

This method will free @invocation, you cannot use it afterwards.

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