DBusMessage.newMethodErrorLiteral

Creates a new gio.DBusMessage 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 Value

A gio.DBusMessage Free with g_object_unref().

Meta

Since

2.26