using namespace for error handler