Improve Error Handling

Merged username-removed-26331 requested to merge grote/repomaker:task-error-handling into master

This MR includes four logically separate commits that all improve error handling. I suggest to review them separately.

There's still a lot to do in terms of error handling. This is just a beginning.

Merge request reports