Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
\Drupal\Core\Utility\Error::decodeException
decodes an exception, like producing a backtrace etc.
For PHP errors we don't have such a helper method, but rather do similar kind of stuff inside _drupal_error_handler_real()
Proposed resolution
Add a Error::decodeError()
methods which does, maybe mostly, of _drupal_error_handler_real()
Comments
Comment #7
voleger