$exceptionMap public property
Map of DB errors and corresponding exceptions If left part is found in DB error message exception class from the right part is used.
public array $exceptionMap = ['Operation would have caused one or more unique constraint violations' => 'yii\db\IntegrityException']
Please login to continue.