2017-02-02 20:21:25 -05:00

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.');
}
}