Move FatalException to errors.py

This commit is contained in:
I-Al-Istannen
2020-05-09 00:00:21 +02:00
parent 19c1e3ac6f
commit f6faacabb0
5 changed files with 13 additions and 11 deletions

View File

@ -32,12 +32,6 @@ def enable_logging(name: str = "PFERD", level: int = logging.INFO) -> None:
logger.propagate = False
class FatalException(Exception):
"""
A fatal exception occurred. Recovery is not possible.
"""
class RichLoggingHandler(logging.Handler):
"""
A logging handler that uses rich for highlighting