RouteNotFoundException
Thrown by {@see \Milpa\Http\Routing\UrlGeneratorInterface::generate()} for a route name that was never registered. A match miss is NOT this exception — it is {@see \Milpa\Http\Routing\RouteResult::notFound()}; this is generation-only (a bug in the caller).
RouteNotFoundException::forName()
public static function forName(string $name): selfBuild the exception for an unknown route name.
Parameters
| Name | Type | Description |
|---|---|---|
| $name | string |