request = $request; } /** * Get the request that caused the exception. */ public function getRequest(): RequestInterface { return $this->request; } }