Exceptions¶
The library comes with a few exceptions which are raised for better error (what went wrong) distinguishion.
Module enumerating all possible exceptions raised directly by Rug.
- exception rug.exceptions.DataException¶
Generic exception for cases where scraped data from the net are not as we expect them.
- exception rug.exceptions.HttpException¶
General HTTP exception which is raised when something goes wrong - for example the connection was refused.
- exception rug.exceptions.RugException¶
Base exception which is extended by every other Rug exception.
- exception rug.exceptions.SymbolNotFound¶
Specific exception indicating requested data for the given symbol was not found because the symbol doesn’t exist.