Adding Error_exception class (impl)