Files
xuetang/server/app/common/service/game/TangDetectiveProgressException.php
2026-09-09 14:47:29 +08:00

22 lines
417 B
PHP

<?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;
}
}