mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
ORM\MappingException does not extend Persistence\MappingException
#7120
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 @nikophil on GitHub (Mar 22, 2023).
Bug Report
Hello!
is it normal that
Doctrine\ORM\Mapping\MappingExceptiondoes not extendDoctrine\Persistence\Mapping\MappingException?(but
\Doctrine\ODM\MongoDB\Mapping\MappingExceptiondoes!)@greg0ire commented on GitHub (Mar 22, 2023):
I'd say that's because the ORM has a base
ORMExceptionclass that needs to be extended by every exception indoctrine/orm