Add more descriptive explanation for raised ValueError