]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - 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
CommitLineData
e1850388 1<?php
53054b2b 2
e1850388
V
3namespace Shaarli\Plugin\Exception;
4
5use Exception;
6
7/**
8 * Class PluginFileNotFoundException
9 *
10 * Raise when plugin files can't be found.
11 */
12class 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}