mirror of
https://github.com/netcccyun/dnsmgr.git
synced 2026-02-21 23:37:22 +08:00
25 lines
391 B
PHP
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;
|
|
}
|
|
}
|