14 lines
270 B
PHP
14 lines
270 B
PHP
|
<?php
|
||
|
|
||
|
namespace Socialbox\Exceptions;
|
||
|
|
||
|
use Exception;
|
||
|
use Throwable;
|
||
|
|
||
|
class DatabaseOperationException extends Exception
|
||
|
{
|
||
|
public function __construct(string $message, ?Throwable $throwable=null)
|
||
|
{
|
||
|
parent::__construct($message, 500, $throwable);
|
||
|
}
|
||
|
}
|