Fix: Rename app folder to match app ID

- Renamed analytics-hub/ → analyticshub/
- App ID in info.xml is 'analyticshub' (no hyphen)
- Nextcloud requires folder name to match app ID exactly
- Fixes 'Could not download app analyticshub' error during installation

Installation:
- Upload analyticshub/ folder to /var/www/nextcloud/apps/
- Folder name must match app ID in info.xml
This commit is contained in:
WLTBAgent
2026-02-13 18:21:39 +00:00
parent 3b91adcd40
commit 8a445c4d46
17 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<?php
declare(strict_types=1);
namespace OCA\AnalyticsHub\Service;
/**
* Custom exceptions for Analytics Hub
*/
/**
* Token expired exception
*/
class TokenExpiredException extends \Exception {
public function __construct(string $message = "Refresh token expired") {
parent::__construct($message);
}
}
/**
* Rate limit exceeded exception
*/
class RateLimitException extends \Exception {
public function __construct(string $message = "Rate limit exceeded") {
parent::__construct($message);
}
}
/**
* Timeout exception
*/
class TimeoutException extends \Exception {
public function __construct(string $message = "API timeout") {
parent::__construct($message);
}
}
/**
* Data incomplete exception
*/
class DataIncompleteException extends \Exception {
public function __construct(string $message = "Data incomplete") {
parent::__construct($message);
}
}