cleanly close, catch Dbus errors

This commit is contained in:
2021-12-25 01:51:49 -05:00
parent 9d3299c9dc
commit bb85cb8b52
7 changed files with 132 additions and 51 deletions

View File

@@ -35,6 +35,7 @@ func NewErrors(errs ...error) (err error) {
return
}
// Error makes a MultiError conform to the error interface.
func (e *MultiError) Error() (errStr string) {
var numErrs int