Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
ExceptionDetectNeedsInstallSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/ExceptionDetectNeedsInstallSubscriber.php Constructs a new ExceptionDetectNeedsInstallSubscriber.
ExceptionHandler class core/lib/Drupal/Core/Database/ExceptionHandler.php Base Database exception handler class.
ExceptionHandler class core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/ExceptionHandler.php CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\ExceptionHandler.
ExceptionHandler class core/lib/Drupal/Core/Database/Driver/mysql/ExceptionHandler.php MySql database exception handler class.
ExceptionHandler class core/modules/mysql/src/Driver/Database/mysql/ExceptionHandler.php MySql database exception handler class.
ExceptionHandler.php file core/modules/mysql/src/Driver/Database/mysql/ExceptionHandler.php
ExceptionHandler.php file core/lib/Drupal/Core/Database/Driver/mysql/ExceptionHandler.php
ExceptionHandler.php file core/lib/Drupal/Core/Database/ExceptionHandler.php
ExceptionHandler.php file core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/ExceptionHandler.php
ExceptionHandler::handleExecutionException function core/lib/Drupal/Core/Database/ExceptionHandler.php Handles exceptions thrown during execution of statement objects.
ExceptionHandler::handleExecutionException function core/modules/mysql/src/Driver/Database/mysql/ExceptionHandler.php Handles exceptions thrown during execution of statement objects.
ExceptionHandler::handleStatementException function core/lib/Drupal/Core/Database/ExceptionHandler.php Handles exceptions thrown during the preparation of statement objects.
ExceptionHandlingTest class core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests the exception handling for various cases.
ExceptionHandlingTest.php file core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php
ExceptionHandlingTest::$modules property core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Modules to install.
ExceptionHandlingTest::doTest404Route function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Sets the given path to use as the 404 page and triggers a 404.
ExceptionHandlingTest::setUp function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php
ExceptionHandlingTest::test405 function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests on a route with a non-supported HTTP method.
ExceptionHandlingTest::test406 function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests a route with a non-supported _format parameter.
ExceptionHandlingTest::testBacktraceEscaping function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests if exception backtraces are properly escaped when output to HTML.
ExceptionHandlingTest::testExceptionEscaping function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests exception message escaping.
ExceptionHandlingTest::testExceptionResponseGeneratedForOriginalRequest function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests that the exception response is executed in the original context.
ExceptionHandlingTest::testHtml403 function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests the exception handling for HTML and 403 status code.
ExceptionHandlingTest::testHtml404 function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests the exception handling for HTML and 404 status code.
ExceptionHandlingTest::testJson403 function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests the exception handling for json and 403 status code.
ExceptionHandlingTest::testJson404 function core/tests/Drupal/KernelTests/Core/Routing/ExceptionHandlingTest.php Tests the exception handling for json and 404 status code.
ExceptionInterface interface core/lib/Drupal/Component/Plugin/Exception/ExceptionInterface.php Exception interface for all exceptions thrown by the Plugin component.
ExceptionInterface.php file core/lib/Drupal/Component/Plugin/Exception/ExceptionInterface.php
ExceptionJsonSubscriber class core/lib/Drupal/Core/EventSubscriber/ExceptionJsonSubscriber.php Default handling for JSON errors.
ExceptionJsonSubscriber.php file core/lib/Drupal/Core/EventSubscriber/ExceptionJsonSubscriber.php
ExceptionJsonSubscriber::getHandledFormats function core/lib/Drupal/Core/EventSubscriber/ExceptionJsonSubscriber.php Specifies the request formats this subscriber will respond to.
ExceptionJsonSubscriber::getPriority function core/lib/Drupal/Core/EventSubscriber/ExceptionJsonSubscriber.php Specifies the priority of all listeners in this class.
ExceptionJsonSubscriber::on4xx function core/lib/Drupal/Core/EventSubscriber/ExceptionJsonSubscriber.php Handles all 4xx errors for JSON.
ExceptionJsonSubscriberTest class core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php @coversDefaultClass \Drupal\Core\EventSubscriber\ExceptionJsonSubscriber[[api-linebreak]]
@group EventSubscriber
ExceptionJsonSubscriberTest.php file core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php
ExceptionJsonSubscriberTest::providerTestOn4xx function core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php
ExceptionJsonSubscriberTest::testOn4xx function core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php @covers ::on4xx[[api-linebreak]]
@dataProvider providerTestOn4xx
ExceptionLoggingSubscriber class core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php Log exceptions without further handling.
ExceptionLoggingSubscriber.php file core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php
ExceptionLoggingSubscriber::$logger property core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php The logger channel factory.
ExceptionLoggingSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php
ExceptionLoggingSubscriber::on403 function core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php Log 403 errors.
ExceptionLoggingSubscriber::on404 function core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php Log 404 errors.
ExceptionLoggingSubscriber::onClientError function core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php Log 4xx errors that are not 403 or 404.
ExceptionLoggingSubscriber::onError function core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php Log not-otherwise-specified errors, including HTTP 500.
ExceptionLoggingSubscriber::onException function core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php Log all exceptions.
ExceptionLoggingSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php Constructs a new ExceptionLoggingSubscriber.
ExceptionLoggingSubscriberTest class core/tests/Drupal/KernelTests/Core/EventSubscriber/ExceptionLoggingSubscriberTest.php Tests that HTTP exceptions are logged correctly.
ExceptionLoggingSubscriberTest.php file core/tests/Drupal/KernelTests/Core/EventSubscriber/ExceptionLoggingSubscriberTest.php
ExceptionLoggingSubscriberTest::$modules property core/tests/Drupal/KernelTests/Core/EventSubscriber/ExceptionLoggingSubscriberTest.php Modules to install.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.