<?php

declare(strict_types=1);

namespace Fennec\Routing;

use Fennec\Exception\NotFoundException;

/**
 * Levée quand aucune route enregistrée ne correspond au chemin demandé.
 */
final class RouteNotFoundException extends NotFoundException
{
    public function __construct(string $path)
    {
        parent::__construct(\sprintf('No route found for path "%s".', $path));
    }
}
