|Issue tags:||DX (Developer Experience)|
Starting with Drupal 7, the system has become extremely modular. Generic functions are re-used in many places, so it's a horrible job to figure out where exactly an error originates from.
Issues like #1067750: Let Field API fail in a tale-telling way on invalid $entity only underline the problem space.
The proposal is to show a simplified backtrace for all error messages, so one is able to see the root of a problem.