You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
342 B
13 lines
342 B
# This file holds custom error types that you can define for your application.
|
|
|
|
|
|
class ConfigError(RuntimeError):
|
|
"""An error encountered during reading the config file.
|
|
|
|
Args:
|
|
msg: The message displayed to the user on error.
|
|
"""
|
|
|
|
def __init__(self, msg: str):
|
|
super(ConfigError, self).__init__("%s" % (msg,))
|