yiisoft/yii2 — pull request #3420 by Jomaanro (2014-05-09 14:29:09+00:00)
Title: Add missing InvalidConfigException when wrong model validator is used

When you add a model validator that is missing or for example you have a typo you currently get:

```
PHP Fatal Error 'yii\base\ErrorException' with message 'Class 'yii\validators\InvalidConfigException' not found'
```

Fixed this by adding the correct InvalidConfigException