| 1 | <?php |
||
| 12 | class SQLException extends RuntimeException |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param string $sql SQL statement (with ":name" placeholders) |
||
| 16 | * @param array $params map of parameter name/value pairs (to bind against placeholders in the statement) |
||
| 17 | * @param string $message |
||
| 18 | * @param int $code |
||
| 19 | * @param Exception|null $previous |
||
| 20 | */ |
||
| 21 | 1 | public function __construct($sql, $params = [], $message = 'SQL Error', $code = 0, Exception $previous = null) |
|
| 29 | } |
||
| 30 |