DuplicateError class now within components.py;  error.py deleted.