You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
356 B
PHP
18 lines
356 B
PHP
<?php
|
|
|
|
namespace Core\Exceptions;
|
|
|
|
use Exception;
|
|
|
|
class SQLException extends Exception {
|
|
/**
|
|
* @var $failingQuery string
|
|
*/
|
|
public $failingQuery;
|
|
|
|
function __construct($failingQuery) {
|
|
$this->failingQuery = $failingQuery;
|
|
|
|
parent::__construct('A SQL exception occurred. Check the logs for more information.');
|
|
}
|
|
} |