<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Exception;

use Doctrine\DBAL\ConnectionException;

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