]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - application/plugin/exception/PluginFileNotFoundException.php
Apply PHP Code Beautifier on source code for linter automatic fixes
[github/shaarli/Shaarli.git] / application / plugin / exception / PluginFileNotFoundException.php
1 <?php
2
3 namespace Shaarli\Plugin\Exception;
4
5 use Exception;
6
7 /**
8 * Class PluginFileNotFoundException
9 *
10 * Raise when plugin files can't be found.
11 */
12 class PluginFileNotFoundException extends Exception
13 {
14 /**
15 * Construct exception with plugin name.
16 * Generate message.
17 *
18 * @param string $pluginName name of the plugin not found
19 */
20 public function __construct($pluginName)
21 {
22 $this->message = sprintf(t('Plugin "%s" files not found.'), $pluginName);
23 }
24 }