Descriptive text of D-Bus errors
- From: Jon Kristensen <info jonkri com>
- To: "javascript-list gnome org" <javascript-list gnome org>
- Subject: Descriptive text of D-Bus errors
- Date: Mon, 18 Aug 2014 21:20:02 +0200
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]