mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Issue status exception (to be used for logging)
This commit is contained in:
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,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
|
||||
|
||||
Reference in new issue
Block a user