configparser-toml/configparser_toml/exceptions.py

11 lines
266 B
Python
Raw Permalink Normal View History

2024-02-21 20:31:14 +00:00
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__