code: func errorMessage(httpStatusCode int, responseBody string) error {
  	if httpStatusCode >= 400 && httpStatusCode < 500 {
  		message := fmt.Sprintf("Client error occurred; Response Code: %d, Response Body: %s", httpStatusCode, responseBody)
  		logging.Logger().Warn(message)
  		return errors.New(message)
  	}
  	if httpStatusCode >= 500 {
  		message := fmt.Sprintf("Server error occurred; Response Code: %d, Response Body: %s", httpStatusCode, responseBody)
  		logging.Logger().Info(message)
  		return errors.New(message)
  	}
  	return nil
  }
docs: // errorMessage is an internal method to return formatted error message according to HTTP status code of the response.