Method
GioDBusMessagenew_method_error
since: 2.26
Declaration [src]
GDBusMessage*
g_dbus_message_new_method_error (
  GDBusMessage* method_call_message,
  const gchar* error_name,
  const gchar* error_message_format,
  ...
)
Description [src]
Creates a new GDBusMessage that is an error reply to method_call_message.
Available since: 2.26
This method is not directly available to language bindings.
Parameters
- error_name
- 
            Type: const gchar*A valid D-Bus error name. The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. 
- error_message_format
- 
            Type: const gchar*The D-Bus error message in a printf()format.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. 
- ...
- 
            Type: Arguments for error_message_format.
Return value
Type: GDBusMessage
A GDBusMessage. Free with g_object_unref().
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |