3b9e672a09
If we throw an error when the invocation isn't allowed instead of returning false, we can simply return that error instead of duplicating the error handling. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1970>