aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/plugin/exception/PluginInvalidRouteException.php
blob: 6ba9bc436529d673592fa8bf147cabd2fbe27e78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

declare(strict_types=1);

namespace Shaarli\Plugin\Exception;

use Exception;

/**
 * Class PluginFileNotFoundException
 *
 * Raise when plugin files can't be found.
 */
class PluginInvalidRouteException extends Exception
{
    /**
     * Construct exception with plugin name.
     * Generate message.
     *
     * @param string $pluginName name of the plugin not found
     */
    public function __construct()
    {
        $this->message = 'trying to register invalid route.';
    }
}