diff --git a/core/harambe_core/errors.py b/core/harambe_core/errors.py index 4c8add4..94099b2 100644 --- a/core/harambe_core/errors.py +++ b/core/harambe_core/errors.py @@ -1,3 +1,6 @@ +from typing import Any + + class HarambeException(Exception): """Base exception for all custom exceptions in Harambe.""" @@ -5,7 +8,7 @@ class HarambeException(Exception): class UnknownHTMLConverter(HarambeException): - def __init__(self, converter_type: any) -> None: + def __init__(self, converter_type: Any) -> None: super().__init__(f"Unknown HTML converter type: {converter_type}")