configparser-toml/configparser_toml/exceptions.py

11 lines
266 B
Python

class ConfigParserError(Exception):
"""Base class for exceptions in this module."""
def __init__(self, msg=''):
self.message = msg
Exception.__init__(self, msg)
def __repr__(self):
return self.message
__str__ = __repr__