]>
Commit | Line | Data |
---|---|---|
a6e9c084 A |
1 | <?php |
2 | ||
3 | declare(strict_types=1); | |
4 | ||
5 | namespace Shaarli\Plugin\Exception; | |
6 | ||
7 | use Exception; | |
8 | ||
9 | /** | |
10 | * Class PluginFileNotFoundException | |
11 | * | |
12 | * Raise when plugin files can't be found. | |
13 | */ | |
14 | class PluginInvalidRouteException extends Exception | |
15 | { | |
16 | /** | |
17 | * Construct exception with plugin name. | |
18 | * Generate message. | |
19 | * | |
20 | * @param string $pluginName name of the plugin not found | |
21 | */ | |
22 | public function __construct() | |
23 | { | |
24 | $this->message = 'trying to register invalid route.'; | |
25 | } | |
26 | } |