Search for on4xx

  1. Search 7.x for on4xx
  2. Search 9.5.x for on4xx
  3. Search 8.9.x for on4xx
  4. Search 11.x for on4xx
  5. Other projects
Title Object type File name Summary
DefaultExceptionHtmlSubscriber::on4xx function core/lib/Drupal/Core/EventSubscriber/DefaultExceptionHtmlSubscriber.php Handles a 4xx error for HTML.
DefaultExceptionSubscriber::on4xx function core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php Handles all 4xx errors for all serialization failures.
DefaultExceptionSubscriberTest::testOn4xx function core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php @covers ::on4xx
ExceptionJsonSubscriber::on4xx function core/lib/Drupal/Core/EventSubscriber/ExceptionJsonSubscriber.php Handles all 4xx errors for JSON.
ExceptionJsonSubscriberTest::providerTestOn4xx function core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php
ExceptionJsonSubscriberTest::testOn4xx function core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php @covers ::on4xx
@dataProvider providerTestOn4xx
FinalExceptionSubscriber::on4xx function core/lib/Drupal/Core/EventSubscriber/FinalExceptionSubscriber.php Handles all 4xx errors that aren't caught in other exception subscribers.
Http4xxController::on4xx function core/modules/system/src/Controller/Http4xxController.php The default 4xx error content.

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