Update FAQ

This commit is contained in:
Lonami Exo
2023-04-06 12:38:25 +02:00
parent f9001bc8e0
commit 3e64ea35ff
3 changed files with 41 additions and 4 deletions

View File

@@ -19,8 +19,8 @@ class TypeNotFoundError(Exception):
def __init__(self, invalid_constructor_id, remaining):
super().__init__(
'Could not find a matching Constructor ID for the TLObject '
'that was supposed to be read with ID {:08x}. Most likely, '
'a TLObject was trying to be read when it should not be read. '
'that was supposed to be read with ID {:08x}. See the FAQ '
'for more details. '
'Remaining bytes: {!r}'.format(invalid_constructor_id, remaining))
self.invalid_constructor_id = invalid_constructor_id