added ErrorHandler::deRegister()