]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - application/plugin/exception/PluginInvalidRouteException.php
Merge pull request #1645 from ArthurHoaro/feature/plugin-register-route
[github/shaarli/Shaarli.git] / application / plugin / exception / PluginInvalidRouteException.php
CommitLineData
a6e9c084
A
1<?php
2
3declare(strict_types=1);
4
5namespace Shaarli\Plugin\Exception;
6
7use Exception;
8
9/**
10 * Class PluginFileNotFoundException
11 *
12 * Raise when plugin files can't be found.
13 */
14class 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}