22 lines
417 B
PHP
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;
|
|
}
|
|
}
|