Files
oficial/app/common/Implement/Exception/EmptyRedis.php
2023-10-19 20:46:52 -03:00

16 lines
350 B
PHP

<?php
namespace Incoviba\Common\Implement\Exception;
use Throwable;
use Exception;
class EmptyRedis extends Exception
{
public function __construct(string $key, ?Throwable $previous = null)
{
$message = "Redis key {$key} not found in database.";
$code = 750;
parent::__construct($message, $code, $previous);
}
}