Added How to Handle Doctrine Error