ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
SlimException.php
Go to the documentation of this file.
1 <?php
9 namespace Slim\Exception;
10 
11 use Exception;
14 
21 class SlimException extends Exception
22 {
28  protected $request;
29 
35  protected $response;
36 
44  {
45  parent::__construct();
46  $this->request = $request;
47  $this->response = $response;
48  }
49 
55  public function getRequest()
56  {
57  return $this->request;
58  }
59 
65  public function getResponse()
66  {
67  return $this->response;
68  }
69 }
Representation of an incoming, server-side HTTP request.
Slim Framework (https://slimframework.com)
Representation of an outgoing, server-side response.
__construct(ServerRequestInterface $request, ResponseInterface $response)
Create new exception.