예제 #1
0
파일: errors.py 프로젝트: i386x/abcdoc
    def __init__(self, template, where):
        """
        """

        ExtensionError.__init__(self, self.message.format(
            template.locals["_templatedir"], where
        ))
예제 #2
0
파일: errors.py 프로젝트: i386x/abcdoc
    def __init__(self, filename, location, detail):
        """
        """

        ExtensionError.__init__(self, self.message.format(
            os.path.realpath(filename), location, detail
        ))
예제 #3
0
파일: errors.py 프로젝트: i386x/abcdoc
    def __init__(self, yamlobj, detail):
        """
        """

        mark = yamlobj.mark
        ExtensionError.__init__(self, self.message.format(
            mark.name, mark.line + 1, mark.column + 1, detail
        ))
예제 #4
0
파일: errors.py 프로젝트: i386x/abcdoc
    def __init__(self, name):
        """
        """

        mark = name.mark
        ExtensionError.__init__(self, self.message.format(
            mark.name, mark.line + 1, mark.column + 1, name
        ))
예제 #5
0
파일: errors.py 프로젝트: i386x/abcdoc
    def __init__(self, param, obj, objtype):
        """
        """

        mark = param.mark
        ExtensionError.__init__(self, self.message.format(
            mark.name, mark.line + 1, mark.column + 1, param,
            obj.__type__.__name__, objtype.__name__
        ))
예제 #6
0
파일: errors.py 프로젝트: i386x/abcdoc
    def __init__(self, error):
        """
        """

        ExtensionError.__init__(self, self.message.format(str(error)))
예제 #7
0
파일: errors.py 프로젝트: i386x/abcdoc
    def __init__(self, filename):
        """
        """

        ExtensionError.__init__(self, self.message.format(filename))
예제 #8
0
파일: errors.py 프로젝트: i386x/abcdoc
    def __init__(self, detail):
        """
        """

        ExtensionError.__init__(self, detail)
예제 #9
0
파일: type_page.py 프로젝트: i386x/abcdoc
    def __init__(self, detail):
        """
        """

        ExtensionError.__init__(self, message.format(detail))