def _create_http_error_dict(status_code, reason, message):
    """Creates a basic error dict similar to most Google API Errors.

  Args:
    status_code: Int, the error's HTTP response status code.
    reason: String, a camelCase reason for the HttpError being given.
    message: String, a general error message describing the error that occurred.

  Returns:
    dict
  """
    return {
        'error': {
            'code': status_code,
            'errors': [{
                'reason': str(reason),
                'message': message,
            }]
        }
    }