Lines Matching defs:Error
52 The filename defaults to fp.name; it is only used in error
112 class Error(Exception):
139 class NoSectionError(Error):
143 Error.__init__(self, 'No section: %r' % (section,))
147 class DuplicateSectionError(Error):
151 Error.__init__(self, "Section %r already exists" % section)
155 class NoOptionError(Error):
159 Error.__init__(self, "No option %r in section: %r" %
165 class InterpolationError(Error):
169 Error.__init__(self, msg)
204 class ParsingError(Error):
208 Error.__init__(self, 'File contains parsing errors: %s' % filename)
221 Error.__init__(
537 # a non-fatal parsing error occurred. set up the