error = $error; parent::__construct($message, $httpStatus, $uri, $previous); } public function getErrorCode() { return $this->error; } }