* Moved Error class into common directory from core.