Adding the extended messages for exceptions

This commit is contained in:
Vyacheslav Agafonov
2011-12-01 19:33:40 +04:00
parent d7bae53911
commit 79c541aa78

View File

@ -30,7 +30,7 @@ class I18N
$config = Config::get(__CLASS__);
if (!is_array($config['locales'])) {
throw new InitializationException('locales empty');
throw new InitializationException('key \'locales\' array\'s config is empty');
}
self::$locales = $config['locales'];