DI
2 years ago
AuthenticationFailedException.php
2 years ago
DatabaseSchemaIsNewerThanCodebaseException.php
2 years ago
ErrorException.php
1 year ago
Exception.php
1 year ago
FailedCopyException.php
2 years ago
IRedirectException.php
2 years ago
InvalidDimensionException.php
2 years ago
InvalidRequestParameterException.php
2 years ago
MissingFilePermissionException.php
2 years ago
NoPrivilegesException.php
2 years ago
NoWebsiteFoundException.php
2 years ago
NotGitInstalledException.php
2 years ago
NotSupportedBrowserException.php
4 months ago
NotYetInstalledException.php
1 year ago
PluginDeactivatedException.php
4 months ago
PluginNotFoundException.php
4 months ago
PluginRequiresInternetException.php
2 years ago
RedirectException.php
2 years ago
StylesheetLessCompileException.php
2 years ago
ThingNotFoundException.php
4 months ago
UnexpectedWebsiteFoundException.php
2 years ago
PluginNotFoundException.php
22 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Matomo - free/libre analytics platform |
| 5 | * |
| 6 | * @link https://matomo.org |
| 7 | * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 8 | */ |
| 9 | namespace Piwik\Exception; |
| 10 | |
| 11 | use Piwik\Http\HttpCodeException; |
| 12 | /** |
| 13 | * Exception thrown when the requested plugin is not activated in the config file |
| 14 | */ |
| 15 | class PluginNotFoundException extends \Exception implements HttpCodeException |
| 16 | { |
| 17 | public function __construct($module) |
| 18 | { |
| 19 | parent::__construct("The plugin {$module} was not found.", 404); |
| 20 | } |
| 21 | } |
| 22 |