* @since 2.0 */ class Exception extends UserException { /** * @return string the user-friendly name of this exception */ public function getName() { return \Yii::t('yii:Error'); } }