Hi Björn,
> Ah yes, then a set_throwable_handler would be needed. A final question: > Would it be an alternative to update set_error_handler to also handle > \Throwable\Error\* > exceptions and let set_exception_handler catching same type of exceptions > like > in PHP 5? > set_error_handler handles something completely different, that doesn't make any sense. I think it should just remain as is, because set_exception_handler is really just a last resort handler, no further actions are executed afterwards. Otherwise, would a set_throwable_handler then catch exceptions? I'd expect it to do so. Regards, Niklas