ENH: More informative error