DOC: more verbose error message