mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-13 11:50:53 +08:00
11 lines
167 B
PHP
11 lines
167 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
class DatabaseException extends \Exception
|
||
|
|
{
|
||
|
|
|
||
|
|
public function __construct($query, $message)
|
||
|
|
{
|
||
|
|
parent::__construct("$message [$query]");
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|