#22420Do not die, be the exception!
Description
There are some die’s in core which don’t serve the needed information why the error happen.
Solution: use Exception. With exception message you get detailed information where the error happen and where to look up, you see the backtrace.
(issue imported from #M14061)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.