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 class ErrorHandler extends Component implements ErrorInterface
{ {
/** @var IFormatter $message */ /** @var null|IFormatter $message */
private $message = NULL; private null|IFormatter $message = NULL;
public $action; public string $category = 'app';
public $category = 'app';
/** /**
* 错误处理注册 * 错误处理注册