AuthenticationFailedException.php
6 years ago
DatabaseSchemaIsNewerThanCodebaseException.php
6 years ago
ErrorException.php
6 years ago
Exception.php
6 years ago
FailedCopyException.php
6 years ago
InvalidRequestParameterException.php
6 years ago
MissingFilePermissionException.php
6 years ago
NoPrivilegesException.php
6 years ago
NoWebsiteFoundException.php
6 years ago
NotYetInstalledException.php
6 years ago
PluginDeactivatedException.php
6 years ago
PluginRequiresInternetException.php
6 years ago
StylesheetLessCompileException.php
6 years ago
UnexpectedWebsiteFoundException.php
6 years ago
PluginDeactivatedException.php
21 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Piwik - free/libre analytics platform |
| 4 | * |
| 5 | * @link https://matomo.org |
| 6 | * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 7 | */ |
| 8 | |
| 9 | namespace Piwik\Exception; |
| 10 | |
| 11 | /** |
| 12 | * Exception thrown when the requested plugin is not activated in the config file |
| 13 | */ |
| 14 | class PluginDeactivatedException extends \Exception |
| 15 | { |
| 16 | public function __construct($module) |
| 17 | { |
| 18 | parent::__construct("The plugin $module is not enabled. You can activate the plugin on Settings > Plugins page in Matomo."); |
| 19 | } |
| 20 | } |
| 21 |