toalett-redis-timeseries/src/Exception/KeyNotFoundException.php

12 lines
247 B
PHP

<?php
namespace Toalett\Redis\Timeseries\Exception;
class KeyNotFoundException extends RuntimeException
{
public function __construct(string $key)
{
parent::__construct(sprintf("Key '{$key}' not found on Redis server"));
}
}