method = $uri; $this->errors = $errors; parent::__construct($message, $responseCode, $previous); } /** * @return string */ public function getMethod() { return $this->method; } /** * @return array */ public function getErrors() { return $this->errors; } }