summaryrefslogtreecommitdiff
path: root/vendor/doctrine/dbal/src/Cache/Exception/NoResultDriverConfigured.php
blob: 14e41f78543b0c017dbae342dc997d64dd36395b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Cache\Exception;

use Doctrine\DBAL\Cache\CacheException;

/** @psalm-immutable */
final class NoResultDriverConfigured extends CacheException
{
    public static function new(): self
    {
        return new self('Trying to cache a query but no result driver is configured.');
    }
}