mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-811: More explicit MappingException #1000
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Sep 20, 2010).
Jira issue originally created by user needle:
Could MappingException be more explicit ?
For example if we just forgot an attribute the raised exception is :
Doctrine\ORM\Mapping\MappingException: An error occurred in My\Class in Doctrine/ORM/Mapping/MappingException.php on line 126
We could be expecting some thing more like :
Missing someField in My\Class
Thanks