Modules

simple error management for simple classes