Skip to content

Commit d227e1a

Browse files
committed
Add discovery class
1 parent 0581d79 commit d227e1a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

airos/exceptions.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,15 @@ class KeyDataMissingError(AirOSException):
2323

2424
class DeviceConnectionError(AirOSException):
2525
"""Raised when unable to connect."""
26+
27+
28+
class AirosDiscoveryError(AirOSException):
29+
"""Base exception for Airos discovery issues."""
30+
31+
32+
class AirosListenerError(AirosDiscoveryError):
33+
"""Raised when the Airos listener encounters an error."""
34+
35+
36+
class AirosEndpointError(AirosDiscoveryError):
37+
"""Raised when there's an issue with the network endpoint."""

0 commit comments

Comments
 (0)