string is a valid D-Bus error name.
This function returns the same result as g_dbus_is_interface_name(), because D-Bus error names are defined to have exactly the same syntax as interface names.
The string to check.
|The data is owned by the caller of the function.|
|The string is a NUL terminated UTF-8 string.|