75f86a6f60
We'll be using hardware encoding for screencasts soon, so we'll likely see more things go wrong in the future, including crashes of the whole screencastService. To deal with this, we'll introduce logic to blocklist certain recording pipelines in case of failure and also add some logic to retry the recording automatically. To allow for better messaging to the user in those failure cases, we want to be aware in gnome-shell, what exactly the error in the recorder was. So propagate the most common types of errors that can happen in the ScreencastService to gnome-shell using the new DBusError module. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>