Class yii\base\InvalidRouteException

Inheritanceyii\base\InvalidRouteException » yii\base\UserException » yii\base\Exception » Exception
Available since version2.0
Source Code https://github.com/yiisoft/yii2/blob/master/framework/base/InvalidRouteException.php

InvalidRouteException represents an exception caused by an invalid route.

Public Methods

Hide inherited methods

Method Description Defined By
getName() yii\base\InvalidRouteException

Method Details

Hide inherited methods

getName() public method

public string getName ( )
return string

The user-friendly name of this exception

                public function getName()
{
    return 'Invalid Route';
}