0 follower

Final Class Yiisoft\Router\RouteNotFoundException

InheritanceYiisoft\Router\RouteNotFoundException » RuntimeException

Public Methods

Hide inherited methods

Method Description Defined By
__construct() Yiisoft\Router\RouteNotFoundException

Method Details

Hide inherited methods

__construct() public method

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);
}