2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
$message=sprintf('No route found for "%s %s"',$request->getMethod(),$request->getPathInfo());
thrownewNotFoundHttpException($message,$e);
}
catch(MethodNotAllowedException$e){
$message=sprintf('No route found for "%s %s": Method Not Allowed (Allow: %s)',$request->getMethod(),$request->getPathInfo(),strtoupper(implode(', ',$e->getAllowedMethods())));