diff --git a/src/technove/__init__.py b/src/technove/__init__.py index 2277ee9..4d85b3e 100644 --- a/src/technove/__init__.py +++ b/src/technove/__init__.py @@ -4,6 +4,7 @@ TechnoVEConnectionError, TechnoVEConnectionTimeoutError, TechnoVEError, + TechnoVEOutOfBoundError, ) from .models import Info, Station, Status from .technove import MIN_CURRENT, TechnoVE @@ -17,4 +18,5 @@ "TechnoVEConnectionError", "TechnoVEConnectionTimeoutError", "TechnoVEError", + "TechnoVEOutOfBoundError", ] diff --git a/src/technove/exceptions.py b/src/technove/exceptions.py index b084486..84c7b68 100644 --- a/src/technove/exceptions.py +++ b/src/technove/exceptions.py @@ -6,10 +6,10 @@ class TechnoVEError(Exception): class TechnoVEOutOfBoundError(TechnoVEError): - """Generic TechnoVE exception.""" + """TechnoVE exception when trying to set values out of bounds.""" -class TechnoVEConnectionError(Exception): +class TechnoVEConnectionError(TechnoVEError): """TechnoVE connection exception."""