/source/Python/FileDownload/HTMLParsing/Errors.py
https://github.com/alexdgarland/Weather_Analysis · Python · 11 lines · 3 code · 4 blank · 4 comment · 0 complexity · 667b8c76a3247957b8eedcfe928fe98e MD5 · raw file
- #!/usr/bin/python
- class BadHTMLError(Exception):
- """
- Custom exception type for badly-formed HTML.
- """
-
- def __init__(self, message):
- super(type(self), self).__init__("Badly-formed HTML - " + message)