Class yii\db\IntegrityException
Inheritance | yii\db\IntegrityException » yii\db\Exception » yii\base\Exception » Exception |
---|---|
Available since version | 2.0 |
Source Code | https://github.com/yiisoft/yii2/blob/master/framework/db/IntegrityException.php |
Exception represents an exception that is caused by violation of DB constraints.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$errorInfo | array | The error info provided by a PDO exception. | yii\db\Exception |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Constructor. | yii\db\Exception |
__toString() | yii\db\Exception | |
getName() | yii\db\IntegrityException |
Signup or Login in order to comment.