DBusMethodInvocation.returnErrorLiteral

void returnErrorLiteral(glib.types.Quark domain, int code, string message)

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.

Parameters

domainA #GQuark for the #GError error domain.
codeThe error code.
messageThe error message.