yii\console\Exception - Yii2 类参考手册

Class yii\console\Exception

Inheritanceyii\console\Exception » yii\base\UserException » yii\base\Exception » Exception
Subclassesyii\console\UnknownCommandException
Available since version2.0

Exception represents an exception caused by incorrect usage of a console command.

Public Methods

隐藏继承的方法 Hide inherited methods

方法 Method简介 Description定义在 Defined By
getName() yii\console\Exception

方法详情 Method Details

getName() public method

public string getName ( )
return string

The user-friendly name of this exception