protocol: make the auth error a subclass of our protocol error
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
354c84d750
commit
9fcd2b9517
|
@ -343,7 +343,7 @@ class ProtocolError(Exception):
|
|||
self.message = message
|
||||
|
||||
|
||||
class AuthorizationError(Exception):
|
||||
class AuthorizationError(ProtocolError):
|
||||
'''
|
||||
The device does not recognize our UUID.
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue