mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Move FatalException to errors.py
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user