gengxin
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace app\common\service\game;
|
||||
|
||||
final class TangDetectiveProgressException extends \DomainException
|
||||
{
|
||||
private string $errorCode;
|
||||
|
||||
public function __construct(string $errorCode, string $message)
|
||||
{
|
||||
parent::__construct($message);
|
||||
$this->errorCode = $errorCode;
|
||||
}
|
||||
|
||||
public function errorCode(): string
|
||||
{
|
||||
return $this->errorCode;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user