__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

@@ -280,16 +280,32 @@
 d = True
+%0A    errors = %5B%5D
 %0A%0A    de
@@ -1053,12 +1053,258 @@
 lid = valid%0A
+%0A    def add_error(self, error_message):%0A        %22%22%22%0A        :type error_message: str%0A        %22%22%22%0A        self.errors.append(error_message)%0A%0A    def get_errors(self):%0A        %22%22%22%0A        :rtype: list of str%0A        %22%22%22%0A        return self.errors%0A

Add errors attribute with setter/getter