17 lines
314 B
PHP
17 lines
314 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);
|
|
}
|
|
}
|