data = $data; } public function getErrorMessage() { return $this->error; } }