Constants§
- ERR_
DICT_ KEYS_ ORDER - ERR_
DICT_ KEY_ MUST_ BE_ STRING - ERR_
EMPTY_ INPUT - Parser errors
- ERR_
INVALID_ INTEGER - ERR_
INVALID_ STRING_ LENGTH - ERR_
STRING_ TOO_ SHORT - ERR_
UNTERMINATED_ DICTIONARY - ERR_
UNTERMINATED_ INTEGER - ERR_
UNTERMINATED_ LIST - FILE_
NOT_ FOUND - Centralized error messages for the bencode library. Keep all user-visible error strings and small helpers here to ensure consistency. Generic IO-related errors
Functions§
- unexpected_
character - Helpers for constructing formatted error messages