UserException is the base class for exceptions that are meant to be shown to end users.
Such exceptions are often caused by mistakes of end users.
Defined in: yii\base\Exception::getName()
public string getName ( ) | ||
return | string |
The user-friendly name of this exception |
---|
public function getName()
{
return 'Exception';
}