mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 12:22:15 +09:00
More work on the query parser
This commit is contained in:
parent
92ff69591f
commit
6eca8736c1
6 changed files with 422 additions and 76 deletions
18
common/framework/exceptions/queryerror.php
Normal file
18
common/framework/exceptions/queryerror.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace Rhymix\Framework\Exceptions;
|
||||
|
||||
/**
|
||||
* The Query Error exception class.
|
||||
*/
|
||||
class QueryError extends \Rhymix\Framework\Exception
|
||||
{
|
||||
public function __construct($message = '', $code = 0, $previous = null)
|
||||
{
|
||||
if ($message === '')
|
||||
{
|
||||
$message = 'Query Error';
|
||||
}
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue