Modules

Exception handling and a base exception class.