knot-lib/cache

View on GitHub
src/exception/CacheMetaDataException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
declare(strict_types=1);

namespace knotlib\cache\exception;

use Throwable;

use knotlib\exception\KnotPhpException;
use knotlib\exception\Runtime\RuntimeExceptionInterface;

class CacheMetaDataException extends KnotPhpException implements CacheExceptionInterface, RuntimeExceptionInterface
{
    /**
     * CacheMetaDataException constructor.
     *
     * @param string $message
     * @param Throwable|NULL $prev
     */
    public function __construct(string $message, Throwable $prev = null)
    {
        parent::__construct($message, 0, $prev);
    }

}