DBusMessage.newMethodErrorLiteral

Creates a new #GDBusMessage that is an error reply to @method_call_message.

class DBusMessage
newMethodErrorLiteral
(
string errorName
,)

Parameters

errorName string

A valid D-Bus error name.

errorMessage string

The D-Bus error message.

Return: A #GDBusMessage. Free with g_object_unref().

Meta

Since

2.26