Allow exception pages to be disabled.
I've been running Webprofiler and Ignition for last year.
Recently, I update a project to Drupal 10.1 which also bumped Webprofiler to 10.1.
Now, all my exception pages appear as the Webprofiler exception page.
As I prefer the Ignition page, I would like the option to disable Webprofiler's implementation.
I attempted to downgrade Webprofiler to 10.0 however, I recieved the following error:
Declaration of Drupal\webprofiler\DataCollector\RequestDataCollector::collect(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpFoundation\Response $response, ?Throwable $exception = null) must be compatible with Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::collect(Symfony\Component\HttpFoundation\Request $request, Symfony\Component\HttpFoundation\Response $response, ?Throwable $exception = null): void in /var/www/html/web/modules/contrib/webprofiler/src/DataCollector/RequestDataCollector.php on line 57