headers = $headers; $this->statusCode = $statusCode; parent::__construct($message, $code, $previous); } /** * @return array */ public function getHeaders(): array { return $this->headers; } /** * @return int */ public function getStatusCode(): int { return $this->statusCode; } }