DDC-811: More explicit MappingException #1000

Open
opened 2026-01-22 12:58:33 +01:00 by admin · 0 comments
Owner

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

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
admin added the Improvement label 2026-01-22 12:58:33 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1000