yiisoft/yii2 — pull request #4826 by samdark (2014-08-26 20:50:35+00:00)
Title: Fixes #4188: API exceptions are now exposing less data when YII_DEBUG is false

- If exception is internal it's always returned as HTTP 500 general purpose one.
- Type isn't exposed anymore.

Fixes #4188