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
PluginRequiresInternetException.php
21 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 | /** |
| 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 |