protocol: make the auth error a subclass of our protocol error

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
pull/182/head
Peter Hutterer 2019-08-21 16:32:07 +10:00
parent 354c84d750
commit 9fcd2b9517
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ class ProtocolError(Exception):
self.message = message
class AuthorizationError(Exception):
class AuthorizationError(ProtocolError):
'''
The device does not recognize our UUID.
'''