Error-plagued Marlins edged by Mets 6-5