Descriptive text of D-Bus errors



Hi, all!

I would like to know how I can get the descriptive text associated with D-Bus errors.

Gio.DBusError.get_remote_error gives us the name of the error, such as "GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown"... but how do we get the text of the error, such as "The name org.gnome.SessionManager was not provided by any .service files"?

Thanks!

Best regards,
Jon Kristensen


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]