bolt issueshttps://gitlab.freedesktop.org/bolt/bolt/-/issues2018-12-17T13:21:52Zhttps://gitlab.freedesktop.org/bolt/bolt/-/issues/25How to communicate errors that are not the result of a (dbus) method call2018-12-17T13:21:52ZChristian KellnerHow to communicate errors that are not the result of a (dbus) method callThere are a cases where we can get errors that are not the result of a user or system component issuing a dbus method call:
- automatic authorization of known devices with `auto` policy by the daemon
- sync up of boot acl entries
In t...There are a cases where we can get errors that are not the result of a user or system component issuing a dbus method call:
- automatic authorization of known devices with `auto` policy by the daemon
- sync up of boot acl entries
In these cases we need to communicate errors/warnings somehow. One possible way is to have a property with an Array of notices (errors/warnings) that then can be individually dismissed or acknowledged.
```c
struct Notice {
NoticeType type; // typdef enum { Info, Warning, Error } NoticeType;
const char *source; // object path
// maybe source type
// GError
const char *domain;
guint code;
const char *message;
};
exit-on-idle