Final Class Yiisoft\Router\RouteNotFoundException
| Inheritance | Yiisoft\Router\RouteNotFoundException » RuntimeException |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\Router\RouteNotFoundException |
Method Details
| public mixed __construct ( string $routeName = '', integer $code = 0, Throwable|null $previous = null ) | ||
| $routeName | string | |
| $code | integer | |
| $previous | Throwable|null | |
public function __construct(string $routeName = '', int $code = 0, ?Throwable $previous = null)
{
$message = sprintf(
'Cannot generate URI for route "%s"; route not found.',
$routeName
);
parent::__construct($message, $code, $previous);
}
Signup or Login in order to comment.