Enhancement: a more obvious error message

cc @netlemur