responseData = $responseData; return $this; } public function getResponseData(): ?array { return $this->responseData; } public function getErrorContext(): array { return [ 'message' => $this->getMessage(), 'code' => $this->getCode(), 'file' => $this->getFile(), 'line' => $this->getLine(), ]; } }