This commit is contained in:
2020-10-26 14:31:50 +08:00
parent 0b63f30547
commit 58776a8a15
+3 -5
View File
@@ -24,12 +24,10 @@ use Snowflake\Snowflake;
class ErrorHandler extends Component implements ErrorInterface
{
/** @var IFormatter $message */
private $message = NULL;
/** @var null|IFormatter $message */
private null|IFormatter $message = NULL;
public $action;
public $category = 'app';
public string $category = 'app';
/**
* 错误处理注册