mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-20 10:27:18 +08:00
refactored exceptions.
I18N WIP.
This commit is contained in:
@ -104,6 +104,6 @@ class HttpException extends UserException
|
||||
if(isset($httpCodes[$this->statusCode]))
|
||||
return $httpCodes[$this->statusCode];
|
||||
else
|
||||
return \Yii::t('yii', 'Error');
|
||||
return \Yii::t('yii:Error');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user