dnsmgr/app/lib/acme/ACME_Exception.php
2024-12-21 17:07:51 +08:00

25 lines
391 B
PHP

<?php
namespace app\lib\acme;
use Exception;
class ACME_Exception extends Exception
{
private $type, $subproblems;
function __construct($type, $detail, $subproblems = array())
{
$this->type = $type;
$this->subproblems = $subproblems;
parent::__construct($detail);
}
function getType()
{
return $this->type;
}
function getSubproblems()
{
return $this->subproblems;
}
}