1<?php
2
3declare(strict_types=1);
4
5namespace Nyholm\Dsn\Exception;
6
7/**
8 * Thrown when you cannot use functions in a DSN.
9 *
10 * @author Tobias Nyholm <tobias.nyholm@gmail.com>
11 */
12class FunctionsNotAllowedException extends InvalidDsnException
13{
14    public function __construct(string $dsn)
15    {
16        parent::__construct($dsn, 'Function are not allowed in this DSN');
17    }
18}
19