convertException() public method
Converts a DB exception to a more concrete one if possible.
public yii\db\Exception convertException ( Exception $e, $rawSql ) | ||
---|---|---|
$e | Exception | |
$rawSql | string |
SQL that produced exception |
convertException() public method
Converts a DB exception to a more concrete one if possible.
public yii\db\Exception convertException ( Exception $e, $rawSql ) | ||
---|---|---|
$e | Exception | |
$rawSql | string |
SQL that produced exception |
Please login to continue.