mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
18 lines
329 B
PHP
18 lines
329 B
PHP
<?php
|
|
|
|
namespace Rhymix\Framework\Exceptions;
|
|
|
|
/**
|
|
* The DB Error exception class.
|
|
*/
|
|
class DBError extends \Rhymix\Framework\Exception
|
|
{
|
|
public function __construct($message = '', $code = 0, $previous = null)
|
|
{
|
|
if ($message === '')
|
|
{
|
|
$message = 'DB Error';
|
|
}
|
|
parent::__construct($message, $code, $previous);
|
|
}
|
|
}
|