Catch -404 BrokenAuthKeyError on .connect()'s .do_authentication

This commit is contained in:
Lonami Exo
2017-09-17 18:38:03 +02:00
parent 940dfe6816
commit e7a936222f
4 changed files with 22 additions and 5 deletions

View File

@@ -38,6 +38,14 @@ class InvalidChecksumError(Exception):
self.valid_checksum = valid_checksum
class BrokenAuthKeyError(Exception):
def __init__(self):
super().__init__(
self,
'The authorization key is broken, and it must be reset.'
)
class CdnFileTamperedError(Exception):
def __init__(self):
super().__init__(