Support for stacked errors in the `ErrorHandler` is deprecated and will be removed in Symfony 4.0. See https://github.com/symfony/symfony/pull/22832