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
PluginRequiresInternetException.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 requires internet connection, but internet features are disabled in the config file |
| 13 | */ |
| 14 | class PluginRequiresInternetException extends \Exception |
| 15 | { |
| 16 | public function __construct($module) |
| 17 | { |
| 18 | parent::__construct("The plugin $module requires internet connection. Please check your config value for `enable_internet_features` if you want to use this feature."); |
| 19 | } |
| 20 | } |
| 21 |