public function __construct($message, Json $json, $previous = null)
 {
     $this->json = $json;
     parent::__construct($message, 0, $previous);
 }
 public function __construct($message, RequestInterface $request, ResponseInterface $response, $previous = null)
 {
     $this->request = $request;
     $this->response = $response;
     parent::__construct($message, 0, $previous);
 }