DBusMethodInvocation.returnErrorLiteral

Like gio.dbus_method_invocation.DBusMethodInvocation.returnError but without printf()-style formatting.

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

class DBusMethodInvocation
void
returnErrorLiteral

Parameters

domain glib.types.Quark

A #GQuark for the #GError error domain.

code int

The error code.

message string

The error message.