Replace all HTTPError (and child exception classes) exceptions into method specific meaningfull exceptions.
As an example, when calling container_kill() on a container that is not running, instead of returning a ServerError exception, intercept that (which seems to require regex matching on the response) and return something like a ContainerIsNotRunning exception.