DBusMethodInvocation.returnErrorLiteral

Like g_dbus_method_invocation_return_error() but without printf()-style formatting.

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

class DBusMethodInvocation
void
returnErrorLiteral
(,
int code
,
string message
)

Parameters

domain GQuark

A #GQuark for the #GError error domain.

code int

The error code.

message string

The error message.

Meta

Since

2.26