Issue status exception (to be used for logging)

This commit is contained in:
Matej Bačo committed 2025-09-16 15:36:32 +02:00
1 parent 91bac63dbd
commit 3f46b06634
2 files changed
+13 -1

No files matched your search

@@ -0,0 +1,11 @@
<?php
namespace Appwrite\Certificates\Exceptions;
use Exception;
// Exception thrown during certificate issue status checking
//
class IssueStatus extends Exception
{
}
+2 -1
View File
@@ -2,6 +2,7 @@
namespace Appwrite\Certificates;
use Appwrite\Certificates\Exceptions\IssueStatus as IssueStatusException;
use Exception;
use Utopia\App;
use Utopia\CLI\Console;
@@ -24,7 +25,7 @@ class LetsEncrypt implements Adapter
public function getIssueStatus(string $domain, ?string $domainType): ?string
{
throw new \Exception('Issue status synchronization is not supported in this adapter.');
throw new IssueStatusException('Issue status synchronization is not supported in this adapter.');
}
public function issueCertificate(string $certName, string $domain, ?string $domainType): ?string