diff --git a/python_weather/errors.py b/python_weather/errors.py index 93e6757..ec02184 100644 --- a/python_weather/errors.py +++ b/python_weather/errors.py @@ -43,3 +43,6 @@ def __init__(self, source: Exception): self.source = source super().__init__() + + def __repr__(self) -> str: + return f'<{__class__.__name__} source={self.source!r}>'