chg: dev: Re-factor exceptions, remove duplicate code. !refactor
chg: dev: Re-factor exceptions, remove duplicate code. !refactor

Closes #124

cloudpassage/cloudpassage-halo-python-sdk,cloudpassage/cloudpassage-halo-python-sdk