Use position of build class, not Context.currentPos() when throwing errors