'Create a REST Response exception
:param status: HTTP response status
:param name: The name of the REST API error type
:param message: Descriptive error message returned from REST call'

def __init__(self, status, name='ERR_INTERNAL', message=None):

    super(RestClientError, self).__init__(message)
    self.code = status
    self.name = name
    self.msg = message
    if (status in http_client.responses):
        self.msg = http_client.responses[status]
