Remove CommandError usage from rbtools.utils
Review Request #9897 — Created April 30, 2018 and submitted — Latest diff uploaded
CommandError is intended to be used only within
it was a layering violation to use it from util code. I've swapped out
the places that raised it to instead use other, more appropriate
exception types, and then the commands that call those APIs can catch
and handle those.
- Tested (most of) the various error conditions that caused the problems.
- Ran unit tests.