good first issuehelp wanted
Repository metrics
- Stars
- (269 stars)
- PR merge metrics
- (PR metrics pending)
Description
tlslite.utils.codec.Parser uses the SyntaxError exception in case the received data can't be parsed as requested.
This is problematic, as the same exception is raised by the runtime environment when there are syntax errors in running code. So a typo in low level code is easy to miss and hard to debug.
Make the Parser raise a TLSLite specific exception in cases like this.
The methods in Parser should also be documented.