dbusIsErrorName

fnbool dbusIsErrorName(string string_)

Check whether string is a valid D-Bus error name.

This function returns the same result as [gio.global.dbusIsInterfaceName], because D-Bus error names are defined to have exactly the same syntax as interface names.

Parameters

string_The string to check.

Returns

true if valid, false otherwise.