Please throw `ValueError` instead of exiting here.