__version__ = (2014, 10, 0)


def get_version():
    """
    :rtype: str
    """
    return '.'.join(str(i) for i in __version__)


class Gignore(object):
    BASE_URL = 'https://raw.githubusercontent.com/github/gitignore/master/'
    name = None
    file_content = None
    valid = True

    def get_base_url(self):
        """
        :rtype: str
        """
        return self.BASE_URL

    def set_name(self, name):
        """
        :type name: str
        """
        self.name = name

    def get_name(self):
        """
        :rtype: str
        """
        return self.name

    def set_file_content(self, file_content):
        """
        :type file_content: str
        """
        self.file_content = file_content

    def get_file_content(self):
        """
        :rtype: str
        """
        return self.file_content

    def is_valid(self):
        """
        :rtype: bool
        """
        return self.valid

    def set_valid(self, valid):
        """
        :type valid: bool
        """
        self.valid = valid

__version__ = (2014, 10, 0)


def get_version():
    """
    :rtype: str
    """
    return '.'.join(str(i) for i in __version__)


class Gignore(object):
    BASE_URL = 'https://raw.githubusercontent.com/github/gitignore/master/'
    name = None
    file_content = None
    valid = True
    errors = []

    def get_base_url(self):
        """
        :rtype: str
        """
        return self.BASE_URL

    def set_name(self, name):
        """
        :type name: str
        """
        self.name = name

    def get_name(self):
        """
        :rtype: str
        """
        return self.name

    def set_file_content(self, file_content):
        """
        :type file_content: str
        """
        self.file_content = file_content

    def get_file_content(self):
        """
        :rtype: str
        """
        return self.file_content

    def is_valid(self):
        """
        :rtype: bool
        """
        return self.valid

    def set_valid(self, valid):
        """
        :type valid: bool
        """
        self.valid = valid

    def add_error(self, error_message):
        """
        :type error_message: str
        """
        self.errors.append(error_message)

    def get_errors(self):
        """
        :rtype: list of str
        """
        return self.errors

Add errors attribute with setter/getter
Add errors attribute with setter/getter

  __version__ = (2014, 10, 0)
  
  
  def get_version():
      """
      :rtype: str
      """
      return '.'.join(str(i) for i in __version__)
  
  
  class Gignore(object):
      BASE_URL = 'https://raw.githubusercontent.com/github/gitignore/master/'
      name = None
      file_content = None
      valid = True
+     errors = []
  
      def get_base_url(self):
          """
          :rtype: str
          """
          return self.BASE_URL
  
      def set_name(self, name):
          """
          :type name: str
          """
          self.name = name
  
      def get_name(self):
          """
          :rtype: str
          """
          return self.name
  
      def set_file_content(self, file_content):
          """
          :type file_content: str
          """
          self.file_content = file_content
  
      def get_file_content(self):
          """
          :rtype: str
          """
          return self.file_content
  
      def is_valid(self):
          """
          :rtype: bool
          """
          return self.valid
  
      def set_valid(self, valid):
          """
          :type valid: bool
          """
          self.valid = valid
  
+     def add_error(self, error_message):
+         """
+         :type error_message: str
+         """
+         self.errors.append(error_message)
+ 
+     def get_errors(self):
+         """
+         :rtype: list of str
+         """
+         return self.errors
+ 
Add errors attribute with setter/getter
## Code Before:
__version__ = (2014, 10, 0)


def get_version():
    """
    :rtype: str
    """
    return '.'.join(str(i) for i in __version__)


class Gignore(object):
    BASE_URL = 'https://raw.githubusercontent.com/github/gitignore/master/'
    name = None
    file_content = None
    valid = True

    def get_base_url(self):
        """
        :rtype: str
        """
        return self.BASE_URL

    def set_name(self, name):
        """
        :type name: str
        """
        self.name = name

    def get_name(self):
        """
        :rtype: str
        """
        return self.name

    def set_file_content(self, file_content):
        """
        :type file_content: str
        """
        self.file_content = file_content

    def get_file_content(self):
        """
        :rtype: str
        """
        return self.file_content

    def is_valid(self):
        """
        :rtype: bool
        """
        return self.valid

    def set_valid(self, valid):
        """
        :type valid: bool
        """
        self.valid = valid

## Instruction:
Add errors attribute with setter/getter
## Code After:
__version__ = (2014, 10, 0)


def get_version():
    """
    :rtype: str
    """
    return '.'.join(str(i) for i in __version__)


class Gignore(object):
    BASE_URL = 'https://raw.githubusercontent.com/github/gitignore/master/'
    name = None
    file_content = None
    valid = True
    errors = []

    def get_base_url(self):
        """
        :rtype: str
        """
        return self.BASE_URL

    def set_name(self, name):
        """
        :type name: str
        """
        self.name = name

    def get_name(self):
        """
        :rtype: str
        """
        return self.name

    def set_file_content(self, file_content):
        """
        :type file_content: str
        """
        self.file_content = file_content

    def get_file_content(self):
        """
        :rtype: str
        """
        return self.file_content

    def is_valid(self):
        """
        :rtype: bool
        """
        return self.valid

    def set_valid(self, valid):
        """
        :type valid: bool
        """
        self.valid = valid

    def add_error(self, error_message):
        """
        :type error_message: str
        """
        self.errors.append(error_message)

    def get_errors(self):
        """
        :rtype: list of str
        """
        return self.errors
