better error-reporting of failing options