Add DatabaseOperationException class

This commit is contained in:
netkas 2024-09-13 13:49:47 -04:00
parent e331a3ed90
commit 4f84d483b8

View file

@ -0,0 +1,14 @@
<?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);
}
}