Description
Error messages on the client are a bit inconsistent, with some code duplication and unclear messages for various problems. These should be refactored into a common handler.
As a result, the functionality from https://github.com/puppetlabs/razor-client/pull/21 can be included.