Database Exception – yii\db\Exception恩施天气

Database Exception – yii\db\Exception

655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 $exceptionClass = \yii\db\Exception;foreach ($this-exceptionMap as $error = $class) {if (strpos($e-getMessage(), $error) !== false) {$exceptionClass = $class;}}$m...
阅读全文