More explicit error message:

Thanks to Steffen Mueller.