peakphp/framework

View on GitHub
src/Config/Exception/CacheInvalidKeyException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace Peak\Config\Exception;

use Peak\Blueprint\Config\ConfigException;
use Psr\SimpleCache\InvalidArgumentException;

class CacheInvalidKeyException extends \Exception implements InvalidArgumentException, ConfigException
{
    /**
     * CacheInvalidKeyException constructor.
     */
    public function __construct()
    {
        parent::__construct('Invalid value for cache $key. String only');
    }
}