mirror of
https://github.com/mjg59/python-broadlink.git
synced 2024-11-21 22:51:41 +01:00
Rename DNSError to DNSLookupError
This commit is contained in:
parent
20d1d63fc3
commit
792f1a1c60
@ -118,8 +118,8 @@ class LengthError(SDKException):
|
||||
pass
|
||||
|
||||
|
||||
class DNSError(SDKException):
|
||||
"""Domain name resolution error."""
|
||||
class DNSLookupError(SDKException):
|
||||
"""Failed to obtain local IP address."""
|
||||
|
||||
pass
|
||||
|
||||
@ -153,7 +153,7 @@ BROADLINK_EXCEPTIONS = {
|
||||
-4000: (NetworkTimeoutError, "Network timeout"),
|
||||
-4007: (LengthError, "Received data packet length error"),
|
||||
-4008: (ChecksumError, "Received data packet check error"),
|
||||
-4013: (DNSError, "Domain name resolution error"),
|
||||
-4013: (DNSLookupError, "Failed to obtain local IP address"),
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user