summaryrefslogtreecommitdiff
path: root/src/Exceptions/MissingParameterException.php
blob: 1f9fa2922e41ff363ad450d6cf58c6cd2086c920 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

declare(strict_types=1);

namespace Lightscale\Router\Exceptions;

use InvalidArgumentException;

class MissingParameterException extends InvalidArgumentException
{
    public static function make(string $parameter): self
    {
        return new self("Missing route parameter '{$parameter}'");
    }
}