__construct() public method
Constructor.
public void __construct ( $message, $errorInfo = [], $code = 0, Exception $previous = null ) | ||
---|---|---|
$message | string |
PDO error message |
$errorInfo | array |
PDO error info |
$code | integer |
PDO error code |
$previous | Exception |
The previous exception used for the exception chaining. |
Please login to continue.