newMethodErrorLiteral

open fun newMethodErrorLiteral(errorName: String, errorMessage: String): DBusMessage

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

Return

A #GDBusMessage. Free with g_object_unref().

Since

2.26

Parameters

errorName

A valid D-Bus error name.

errorMessage

The D-Bus error message.