summaryrefslogtreecommitdiff
path: root/vendor/doctrine/dbal/src/Exception/SavepointsNotSupported.php
blob: 1d7260e1f99628d9db525e03565361aea92d9270 (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\Exception;

use Doctrine\DBAL\ConnectionException;

/** @psalm-immutable */
final class SavepointsNotSupported extends ConnectionException
{
    public static function new(): self
    {
        return new self('Savepoints are not supported by this driver.');
    }
}