Exception subscriber for handling core default HTML error pages.
Name | Modifiers | Type | Description |
---|---|---|---|
DefaultExceptionHtmlSubscriber::$accessUnawareRouter | protected | property | A router implementation which does not check access. |
DefaultExceptionHtmlSubscriber::$httpKernel | protected | property | The HTTP kernel. |
DefaultExceptionHtmlSubscriber::$logger | protected | property | The logger instance. |
DefaultExceptionHtmlSubscriber::$redirectDestination | protected | property | The redirect destination service. |
DefaultExceptionHtmlSubscriber::getHandledFormats | protected | function | Specifies the request formats this subscriber will respond to. Overrides HttpExceptionSubscriberBase::getHandledFormats |
DefaultExceptionHtmlSubscriber::getPriority | protected static | function | Specifies the priority of all listeners in this class. Overrides HttpExceptionSubscriberBase::getPriority |
DefaultExceptionHtmlSubscriber::makeSubrequest | protected | function | Makes a subrequest to retrieve the default error page. |
DefaultExceptionHtmlSubscriber::on401 | public | function | Handles a 401 error for HTML. |
DefaultExceptionHtmlSubscriber::on403 | public | function | Handles a 403 error for HTML. |
DefaultExceptionHtmlSubscriber::on404 | public | function | Handles a 404 error for HTML. |
DefaultExceptionHtmlSubscriber::__construct | public | function | Constructs a new DefaultExceptionHtmlSubscriber. |
HttpExceptionSubscriberBase::getSubscribedEvents | public static | function | Registers the methods in this class that should be listeners. Overrides EventSubscriberInterface::getSubscribedEvents |
HttpExceptionSubscriberBase::onException | public | function | Handles errors for this subscriber. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!EventSubscriber!DefaultExceptionHtmlSubscriber.php/class/DefaultExceptionHtmlSubscriber/8.1.x