php-vn-lib/vn/db/exception.php

21 lines
324 B
PHP
Raw Normal View History

2015-01-23 12:38:29 +00:00
<?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);
}
}
?>