MatchingRouteNotFoundException.php

Same filename in other branches
  1. 9 core/lib/Drupal/Core/Routing/MatchingRouteNotFoundException.php
  2. 8.9.x core/lib/Drupal/Core/Routing/MatchingRouteNotFoundException.php
  3. 10 core/lib/Drupal/Core/Routing/MatchingRouteNotFoundException.php

Namespace

Drupal\Core\Routing

File

core/lib/Drupal/Core/Routing/MatchingRouteNotFoundException.php

View source
<?php

namespace Drupal\Core\Routing;

use Symfony\Component\Routing\Exception\ResourceNotFoundException;

/**
 * No matching route was found.
 *
 * @deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. There is no
 *  replacement.
 *
 * @see https://www.drupal.org/node/3462776
 */
class MatchingRouteNotFoundException extends ResourceNotFoundException {

}

Classes

Title Deprecated Summary
MatchingRouteNotFoundException

in drupal:11.1.0 and is removed from drupal:12.0.0. There is no replacement.

No matching route was found.

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