raise error if topology doesn't exist