21 lines
324 B
PHP
21 lines
324 B
PHP
<?php
|
|
|
|
namespace Vn\Db;
|
|
|
|
/**
|
|
* Class used to store information about database errors.
|
|
**/
|
|
class Exception extends \Exception
|
|
{
|
|
/**
|
|
* @param string $code The code of message
|
|
* @param string $message The message string
|
|
**/
|
|
function __construct ($code, $message)
|
|
{
|
|
parent::__construct ($message, $code);
|
|
}
|
|
}
|
|
|
|
?>
|