def _ConcatenateErrorMessages(prefix, status):
 if status.error_detail():
  return ((prefix + ': ') + status.error_detail())
 return prefix

def _ConcatenateErrorMessages ( prefix , status ) : if status . error_detail ( ) : return ( ( prefix + ': ' ) + status . error_detail ( ) ) return prefix
returns an error message combining prefix and status .