summaryrefslogtreecommitdiff
path: root/vendor/doctrine/dbal/src/Driver/Exception/IdentityColumnsNotSupported.php
blob: c904954e0a419f63626381a320e1972d7b3dfcb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

declare(strict_types=1);

namespace Doctrine\DBAL\Driver\Exception;

use Doctrine\DBAL\Driver\AbstractException;
use Throwable;

/**
 * @internal
 *
 * @psalm-immutable
 */
final class IdentityColumnsNotSupported extends AbstractException
{
    public static function new(?Throwable $previous = null): self
    {
        return new self('The driver does not support identity columns.', null, 0, $previous);
    }
}