PythonTop40 errors

The errors module containing the exceptions that PythonTop40 uses

exception errors.Top40ConnectionError

This is raised when a connection cannot be established to the remote server

exception errors.Top40ConversionError

This is raised when a conversion is specified, but causes an error

exception errors.Top40Error

Base class for all exceptions

exception errors.Top40HTTPError(message, return_code=0)

This exception is raised if an HTTP level error was experienced. i.e. no physical or connection error, but a web server error was returned.

exception errors.Top40ReadTimeoutError

This is raised when an ongoing action takes longer than expected