2021-01-09 22:30:07 -05:00
|
|
|
# This file holds custom error types that you can define for your application.
|
|
|
|
|
|
|
|
|
2019-09-25 14:26:29 +02:00
|
|
|
class ConfigError(RuntimeError):
|
2021-01-09 22:33:59 -05:00
|
|
|
"""An error encountered during reading the config file.
|
2019-09-25 14:26:29 +02:00
|
|
|
|
|
|
|
Args:
|
2021-01-09 22:33:59 -05:00
|
|
|
msg: The message displayed to the user on error.
|
2019-09-25 14:26:29 +02:00
|
|
|
"""
|
2020-08-09 15:02:07 -07:00
|
|
|
|
2022-07-04 01:03:24 +02:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class AlertNotFoundError(RuntimeError):
|
|
|
|
"""An error encountered when an alert cannot be found in database.
|
|
|
|
|
|
|
|
Args:
|
|
|
|
msg: The message displayed to the user on error.
|
|
|
|
"""
|
|
|
|
|
|
|
|
pass
|