errorData = $errorData; } /** * 获取额外错误数据. */ public function getErrorData(): ?array { return $this->errorData; } }