mappingErrors key checking in db.html.twig