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