errors = $errors; $this->code = $code; } public function getErrors() { return $this->errors; } }